From: Friendika Date: Thu, 13 Oct 2011 22:39:05 +0000 (-0700) Subject: remove queued items for contact when removing contact X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=89c771a26e2eca3af8de82a5d57ce05d663ff6d5;p=friendica.git remove queued items for contact when removing contact --- diff --git a/include/Contact.php b/include/Contact.php index 45920041eb..45fd368d85 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -46,6 +46,10 @@ function contact_remove($id) { q("DELETE FROM `event` WHERE `cid` = %d ", intval($id) ); + q("DELETE FROM `queue` WHERE `cid` = %d ", + intval($id) + ); + }