diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 16916a5a9..0e40e04fc 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -6,6 +6,7 @@ * src/GrampsDb/_ReadXML.py (start_childref): Typo. * src/GrampsDb/_GrampsInMemDB.py (load): Define self.full_name prior to calling open_undodb(). + (GrampsInMemDB._del_family): Remove obsolete code. 2006-05-07 Don Allingham * configure.in: set for 2.1.1 diff --git a/gramps2/src/GrampsDb/_GrampsInMemDB.py b/gramps2/src/GrampsDb/_GrampsInMemDB.py index 585492998..dae8c5da3 100644 --- a/gramps2/src/GrampsDb/_GrampsInMemDB.py +++ b/gramps2/src/GrampsDb/_GrampsInMemDB.py @@ -170,17 +170,7 @@ class GrampsInMemDB(GrampsDbBase): return vals - #FIXME: WHICH one to keep? def _del_person(self,handle): - #def remove_person(self,handle,transaction): - if self.readonly or not handle or str(handle) not in self.person_map: - return - person = self.get_person_from_handle(handle) - self.genderStats.uncount_person (person) - if transaction != None: - old_data = self.person_map.get(handle) - transaction.add(PERSON_KEY,handle,old_data) - self.emit('person-delete',([handle],)) del self.id_trans[person.get_gramps_id()] del self.person_map[handle]