3580: People list (private handlers) and display Name format

in reality: associations are not removed on delete person


svn: r14385
This commit is contained in:
Benny Malengier 2010-02-15 12:16:08 +00:00
parent 9e1e197460
commit 4d7d108ea9

View File

@ -66,8 +66,8 @@ def delete_person_from_database(db, person, trans):
for phandle in person_list:
p = db.get_person_from_handle(phandle)
p.remove_handle_references('Person', handle)
db.commit_person(person, trans)
p.remove_handle_references('Person', [handle])
db.commit_person(p, trans)
db.remove_person(handle, trans)
def remove_family_relationships(db, family_handle, trans=None):