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:57:56 +00:00
parent 5af87bf976
commit 6699869e2b

View File

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