server/sources/__init__.py
changeset 7514 32081892850e
parent 7398 26695dd703d8
parent 7501 2983dd24494a
child 7552 82dde8276a5b
--- a/server/sources/__init__.py	Sat Jun 11 09:22:25 2011 +0200
+++ b/server/sources/__init__.py	Wed Jun 15 17:16:19 2011 +0200
@@ -462,19 +462,12 @@
         """mark entity as being modified, fulltext reindex if needed"""
         raise NotImplementedError()
 
-    def delete_info(self, session, entity, uri, extid):
-        """delete system information on deletion of an entity by transfering
-        record from the entities table to the deleted_entities table
+    def delete_info_multi(self, session, entities, uri):
+        """delete system information on deletion of a list of entities with the
+        same etype and belinging to the same source
         """
         raise NotImplementedError()
 
-    def delete_info_multi(self, session, entities, uri, extids):
-        """ame as delete_info but accepts a list of entities with
-        the same etype and belinging to the same source.
-        """
-        for entity, extid in itertools.izip(entities, extids):
-            self.delete_info(session, entity, uri, extid)
-
     def modified_entities(self, session, etypes, mtime):
         """return a 2-uple:
         * list of (etype, eid) of entities of the given types which have been