hooks/syncsources.py
changeset 7536 29961a416faa
parent 7399 972ed1843bd8
parent 7525 1f6839019e6a
child 7650 278fe9c1f3ad
--- a/hooks/syncsources.py	Fri Jun 17 18:50:13 2011 +0200
+++ b/hooks/syncsources.py	Fri Jun 17 18:53:33 2011 +0200
@@ -136,7 +136,7 @@
                 if not session.deleted_in_transaction(schemacfg.eid):
                     source.add_schema_config(schemacfg, checkonly=checkonly)
             elif session.deleted_in_transaction(schemacfg.eid):
-                source.delete_schema_config(schemacfg, checkonly=checkonly)
+                source.del_schema_config(schemacfg, checkonly=checkonly)
             else:
                 source.update_schema_config(schemacfg, checkonly=checkonly)
 
@@ -164,5 +164,4 @@
     def __call__(self):
         SourceMappingChangedOp.get_instance(self._cw).add_data(
             (self._cw.entity_from_eid(self.eidfrom),
-             self._cw.entity_from_eid(self.eidto)) )
-
+             self._cw.entity_from_eid(self.eidto).repo_source) )