hooks/integrity.py
changeset 3728 c23add03ff4d
parent 3727 74bd06656bcc
child 3731 d4af295515c0
--- a/hooks/integrity.py	Mon Oct 19 17:36:37 2009 +0200
+++ b/hooks/integrity.py	Mon Oct 19 17:42:47 2009 +0200
@@ -64,7 +64,7 @@
     category = 'integrity'
 
 class UserIntegrityHook(IntegrityHook):
-    __select__ = IntegrityHook.__select__ & ~regular_session()
+    __select__ = IntegrityHook.__select__ & ~hook.regular_session()
 
 
 class CheckCardinalityHook(UserIntegrityHook):