backport stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Fri, 18 Feb 2011 17:11:45 +0100
changeset 7025 fee3a1f28ed7
parent 7024 f4e798cf29b4 (current diff)
parent 7021 fc7ac3409b0c (diff)
child 7040 9b1f9bc74f5d
backport stable
--- a/hooks/syncschema.py	Fri Feb 18 17:07:40 2011 +0100
+++ b/hooks/syncschema.py	Fri Feb 18 17:11:45 2011 +0100
@@ -1127,7 +1127,7 @@
 class AfterAddCWUniqueTogetherConstraintHook(SyncSchemaHook):
     __regid__ = 'syncadd_cwuniquetogether_constraint'
     __select__ = SyncSchemaHook.__select__ & is_instance('CWUniqueTogetherConstraint')
-    events = ('after_add_entity', 'after_update_entity')
+    events = ('after_add_entity',)
 
     def __call__(self):
         CWUniqueTogetherConstraintAddOp(self._cw, entity=self.entity)