hooks/syncschema.py
changeset 10799 ec97974b9010
parent 10671 e08102f45237
child 10813 ab626726a70a
--- a/hooks/syncschema.py	Thu Oct 08 13:51:54 2015 +0200
+++ b/hooks/syncschema.py	Wed Sep 16 16:04:17 2015 +0200
@@ -905,11 +905,6 @@
             # duh, schema not found, log error and skip operation
             self.warning('no schema for %s', self.eid)
             return
-        if isinstance(erschema, RelationSchema): # XXX 3.6 migration
-            return
-        if isinstance(erschema, RelationDefinitionSchema) and \
-               self.action in ('delete', 'add'): # XXX 3.6.1 migration
-            return
         perms = list(erschema.action_permissions(self.action))
         if self.group_eid is not None:
             perm = self.cnx.entity_from_eid(self.group_eid).name