server/sources/native.py
branchstable
changeset 5067 adc2122eed03
parent 5061 cdab5220eac0
child 5070 b1f80ccadda3
--- a/server/sources/native.py	Tue Mar 30 10:28:41 2010 +0200
+++ b/server/sources/native.py	Tue Mar 30 10:39:16 2010 +0200
@@ -670,10 +670,12 @@
 
     def delete_info(self, session, entity, uri, extid):
         """delete system information on deletion of an entity:
+        * update the fti
         * remove record from the entities table
         * transfer it to the deleted_entities table if the entity's type is
           multi-sources
         """
+        self.fti_unindex_entity(session, entity.eid)
         attrs = {'eid': entity.eid}
         self.doexec(session, self.sqlgen.delete('entities', attrs), attrs)
         if not entity.__regid__ in self.multisources_etypes: