server/serverconfig.py
changeset 2650 18aec79ec3a3
parent 2633 bc9386c3b2c9
child 2657 de974465d381
--- a/server/serverconfig.py	Mon Aug 03 09:37:13 2009 +0200
+++ b/server/serverconfig.py	Mon Aug 03 10:50:57 2009 +0200
@@ -265,7 +265,7 @@
     def load_hooks(self, vreg):
         hooks = {}
         try:
-            apphookdefs = vreg.registry_objects('hooks')
+            apphookdefs = vreg['hooks'].all_objects()
         except RegistryNotFound:
             return hooks
         for hookdef in apphookdefs: