Backport 31721 - If deleted addresses are kept, delete links on final purge, not initial delete (#8157)

This commit is contained in:
Nathan Gray 2010-08-18 14:58:55 +00:00
parent 18ccc808cf
commit 467302e1e0

View File

@ -724,7 +724,6 @@ class addressbook_bo extends addressbook_so
$delete = $old;
$delete['tid'] = addressbook_so::DELETED_TYPE;
$ok = $this->save($delete);
egw_link::unlink(0,'addressbook',$id,'','!file');
}
elseif (($ok = parent::delete($id,$check_etag)))
{