X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=include%2FContact.php;h=d39d7a28b6025c41d8597323608cedefa1c21d31;hb=586acbe998a449d9290c182d72f73d6bec1f4fe2;hp=1a7a1676a79bb3925a7ad0a781d025cb863b2fa9;hpb=7de5c7ebe1fba7757f06762d26dae478c9de5389;p=friendica.git diff --git a/include/Contact.php b/include/Contact.php index 1a7a1676a7..d39d7a28b6 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -169,6 +169,7 @@ function mark_for_death($contact) { q("update contact set `archive` = 1 where id = %d limit 1", intval($contact['id']) ); + q("UPDATE `item` SET `private` = 2 WHERE `contact-id` = %d AND `uid` = %d", intval($contact['id']), intval($contact['uid'])); //contact_remove($contact['id']);