aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/Contact.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/Contact.php b/include/Contact.php
index 45920041e..45fd368d8 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)
+ );
+
}