hooks/integrity.py
changeset 9680 8fb8f001f4e2
parent 9613 45370ea9f495
child 10662 10942ed172de
--- a/hooks/integrity.py	Thu Apr 10 13:54:31 2014 +0200
+++ b/hooks/integrity.py	Thu Apr 10 15:03:01 2014 +0200
@@ -318,6 +318,8 @@
     __select__ = hook.Hook.__select__ & composite_etype()
     events = ('before_delete_entity',)
     category = 'activeintegrity'
+    # give the application's before_delete_entity hooks a chance to run before we cascade
+    order = 99
 
     def __call__(self):
         eid = self.entity.eid