remove queued items for contact when removing contact

This commit is contained in:
Friendika 2011-10-13 15:39:05 -07:00
parent 4eae1e5d8a
commit 89c771a26e

View file

@ -46,6 +46,10 @@ function contact_remove($id) {
q("DELETE FROM `event` WHERE `cid` = %d ", q("DELETE FROM `event` WHERE `cid` = %d ",
intval($id) intval($id)
); );
q("DELETE FROM `queue` WHERE `cid` = %d ",
intval($id)
);
} }