changeset 3760:f004cd750c86

remove subscribable_events stuff from config
author Johannes Berg <johannes AT sipsolutions DOT net>
date Sun, 22 Jun 2008 02:15:09 +0200
parents 2b78179acbea
children 24e9fecdd81c
files MoinMoin/config/multiconfig.py
diffstat 1 files changed, 0 insertions(+), 15 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/config/multiconfig.py	Sun Jun 22 02:09:17 2008 +0200
+++ b/MoinMoin/config/multiconfig.py	Sun Jun 22 02:15:09 2008 +0200
@@ -225,8 +225,6 @@
     """ Configuration base class with default config values
         (added below)
     """
-    # Things that shouldn't be here...
-    _subscribable_events = None
 
     def __init__(self, siteid):
         """ Init Config instance """
@@ -371,19 +369,6 @@
     iwid = make_iwid_property("_iwid")
     iwid_full = make_iwid_property("_iwid_full")
 
-    # lazily load a list of events a user can subscribe to
-    def make_subscribable_events_prop():
-        def getter(self):
-            if getattr(self, "_subscribable_events", None) is None:
-                self._subscribable_events = events.get_subscribable_events()
-            return getattr(self, "_subscribable_events")
-
-        def setter(self, new_events):
-            self._subscribable_events = new_events
-
-        return property(getter, setter)
-    subscribable_events = make_subscribable_events_prop()
-
     # lazily create a list of event handlers
     def make_event_handlers_prop():
         def getter(self):