server/repository.py
changeset 9361 0542a85fe667
parent 9302 af36f459d2f0
child 9402 2c48c091b6a2
child 9701 46c8d8701240
--- a/server/repository.py	Thu Dec 12 14:25:24 2013 +0100
+++ b/server/repository.py	Thu Nov 14 17:17:02 2013 +0100
@@ -1595,10 +1595,6 @@
         source.delete_relation(session, subject, rtype, object)
         rschema = self.schema.rschema(rtype)
         session.update_rel_cache_del(subject, rtype, object, rschema.symmetric)
-        if rschema.symmetric:
-            # on symmetric relation, we can't now in which sense it's
-            # stored so try to delete both
-            source.delete_relation(session, object, rtype, subject)
         if source.should_call_hooks:
             self.hm.call_hooks('after_delete_relation', session,
                                eidfrom=subject, rtype=rtype, eidto=object)