Elimination of redundant code, new registering method for plugins

svn: r367
This commit is contained in:
Don Allingham
2001-08-31 03:40:23 +00:00
parent 8543bd85f7
commit 59d53915b9
59 changed files with 1872 additions and 2518 deletions

View File

@@ -49,11 +49,11 @@ class EventPlace(Filter.Filter):
break
return val
def create(text):
return EventPlace(text)
def need_qualifier():
return 1
def get_name():
return _("People with an event location of ...")
#------------------------------------------------------------------------
#
#
#
#------------------------------------------------------------------------
Filter.register_filter(EventPlace,
description=_("People with an event location of ..."),
qualifier=1)