From d988af9d106010b48f040570eaa4dddefc0b1afa Mon Sep 17 00:00:00 2001 From: Nick Hall Date: Tue, 13 Aug 2013 18:23:26 +0000 Subject: [PATCH] 6995: Fix bug in event citation filter svn: r22857 --- src/Filters/Rules/Event/_HasCitation.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/Filters/Rules/Event/_HasCitation.py b/src/Filters/Rules/Event/_HasCitation.py index b17fdf43e..56bf9e5a4 100644 --- a/src/Filters/Rules/Event/_HasCitation.py +++ b/src/Filters/Rules/Event/_HasCitation.py @@ -52,10 +52,3 @@ class HasCitation(HasCitationBase): name = _('Events with the ') description = _("Matches events with a citation of a particular " "value") - - def apply(self, dbase, event): - for citation_handle in event.get_citation_list(): - citation = dbase.get_citation_from_handle(citation_handle) - if HasCitationBase.apply(self, dbase, citation): - return True - return False