equal
deleted
inserted
replaced
1166 self._type_source_cache.pop(eid, None) |
1166 self._type_source_cache.pop(eid, None) |
1167 if 'entity' in locals(): |
1167 if 'entity' in locals(): |
1168 hook.CleanupDeletedEidsCacheOp.get_instance(session).add_data(entity.eid) |
1168 hook.CleanupDeletedEidsCacheOp.get_instance(session).add_data(entity.eid) |
1169 self.system_source.delete_info_multi(session, [entity], uri) |
1169 self.system_source.delete_info_multi(session, [entity], uri) |
1170 if source.should_call_hooks: |
1170 if source.should_call_hooks: |
1171 session._threaddata.pending_operations = pending_operations |
1171 session._tx.pending_operations = pending_operations |
1172 raise |
1172 raise |
1173 |
1173 |
1174 def add_info(self, session, entity, source, extid=None, complete=True): |
1174 def add_info(self, session, entity, source, extid=None, complete=True): |
1175 """add type and source info for an eid into the system table, |
1175 """add type and source info for an eid into the system table, |
1176 and index the entity with the full text index |
1176 and index the entity with the full text index |