server/repository.py
branchstable
changeset 5090 8c39d2bf58fd
parent 5084 d8f491cb046c
child 5093 8d073d2e089d
--- a/server/repository.py	Tue Mar 30 17:59:18 2010 +0200
+++ b/server/repository.py	Tue Mar 30 19:55:20 2010 +0200
@@ -59,7 +59,7 @@
     # XXX we should imo rely on the orm to first fetch existing entity if any
     # then delete it.
     if session.is_internal_session \
-           or not session.is_hook_category_activated('integrity'):
+           or not session.is_hook_category_activated('activeintegrity'):
         return
     card = session.schema_rproperty(rtype, eidfrom, eidto, 'cardinality')
     # one may be tented to check for neweids but this may cause more than one