mirror of
https://github.com/friendica/friendica
synced 2024-12-23 06:40:15 +00:00
remove queued items for contact when removing contact
This commit is contained in:
parent
4eae1e5d8a
commit
89c771a26e
1 changed files with 4 additions and 0 deletions
|
@ -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