hooks/integrity.py
branchstable
changeset 6894 ba3f7e655414
parent 6889 37668bf302f5
child 6957 ffda12be2e9f
--- a/hooks/integrity.py	Wed Jan 26 10:42:40 2011 +0100
+++ b/hooks/integrity.py	Wed Jan 26 10:49:05 2011 +0100
@@ -176,9 +176,9 @@
             # first check related entities have not been deleted in the same
             # transaction
             if session.deleted_in_transaction(eidfrom):
-                return
+                continue
             if session.deleted_in_transaction(eidto):
-                return
+                continue
             for constraint in constraints:
                 # XXX
                 # * lock RQLConstraint as well?