diff -r cb0f4da64e86 -r 2983dd24494a server/sources/__init__.py --- a/server/sources/__init__.py Tue Jun 14 13:46:36 2011 +0200 +++ b/server/sources/__init__.py Tue Jun 14 15:37:09 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