server/migractions.py
changeset 6426 541659c39f6a
parent 6333 e3994fcc21c3
child 6427 c8a5ac2d1eaa
--- a/server/migractions.py	Sat Oct 09 00:05:49 2010 +0200
+++ b/server/migractions.py	Sat Oct 09 00:05:50 2010 +0200
@@ -960,8 +960,7 @@
                     # get some validation error on commit since integrity hooks
                     # may think some required relation is missing... This also ensure
                     # repository caches are properly cleanup
-                    hook.set_operation(session, 'pendingeids', eid,
-                                       hook.CleanupDeletedEidsCacheOp)
+                    CleanupDeletedEidsCacheOp.get_instance(session).add_data(eid)
                     # and don't forget to remove record from system tables
                     self.repo.system_source.delete_info(
                         session, session.entity_from_eid(eid, rdeftype),