web/uicfg.py
branch3.5
changeset 3071 6ad4e6d4df86
parent 2951 d0b77dd27740
parent 3057 f4ba5a251ab7
child 3072 6fb42c53f6df
child 3125 52b6b8c2ccc5
child 3184 613064b49331
--- a/web/uicfg.py	Fri Aug 28 16:28:26 2009 +0200
+++ b/web/uicfg.py	Mon Aug 31 18:59:10 2009 +0200
@@ -67,7 +67,7 @@
 """
 __docformat__ = "restructuredtext en"
 
-from cubicweb import neg_role, onevent
+from cubicweb import neg_role
 from cubicweb.rtags import (RelationTags, RelationTagsBool,
                             RelationTagsSet, RelationTagsDict)
 from cubicweb.web import formwidgets
@@ -218,14 +218,3 @@
 
 actionbox_appearsin_addmenu = RelationTagsBool('actionbox_appearsin_addmenu',
                                                init_actionbox_appearsin_addmenu)
-
-@onevent('before-registry-reload')
-def clear_rtag_objects():
-    primaryview_section.clear()
-    primaryview_display_ctrl.clear()
-    autoform_section.clear()
-    autoform_field.clear()
-    autoform_field_kwargs.clear()
-    autoform_is_inlined.clear()
-    autoform_permissions_overrides.clear()
-    actionbox_appearsin_addmenu.clear()