equal
deleted
inserted
replaced
1095 # mark eid as being deleted in session info and setup cache update |
1095 # mark eid as being deleted in session info and setup cache update |
1096 # operation |
1096 # operation |
1097 hook.CleanupDeletedEidsCacheOp.get_instance(session).add_data(entity.eid) |
1097 hook.CleanupDeletedEidsCacheOp.get_instance(session).add_data(entity.eid) |
1098 self._delete_info(session, entity, sourceuri, extid, scleanup) |
1098 self._delete_info(session, entity, sourceuri, extid, scleanup) |
1099 |
1099 |
1100 def _delete_info(self, session, entity, sourceuri, extid, scleanup): |
1100 def _delete_info(self, session, entity, sourceuri, extid, scleanup=False): |
1101 """delete system information on deletion of an entity: |
1101 """delete system information on deletion of an entity: |
1102 * delete all remaining relations from/to this entity |
1102 * delete all remaining relations from/to this entity |
1103 * call delete info on the system source which will transfer record from |
1103 * call delete info on the system source which will transfer record from |
1104 the entities table to the deleted_entities table |
1104 the entities table to the deleted_entities table |
1105 """ |
1105 """ |