remove queued items for contact when removing contact
This commit is contained in:
parent
4eae1e5d8a
commit
89c771a26e
|
@ -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)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue