hooks/syncsources.py
branchstable
changeset 7525 1f6839019e6a
parent 7049 f2ae6202754c
child 7536 29961a416faa
--- a/hooks/syncsources.py	Thu Jun 16 17:02:50 2011 +0200
+++ b/hooks/syncsources.py	Thu Jun 16 19:37:59 2011 +0200
@@ -132,7 +132,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)
 
@@ -160,4 +160,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) )