aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-13 15:39:05 -0700
committerFriendika <info@friendika.com>2011-10-13 15:39:05 -0700
commit89c771a26e2eca3af8de82a5d57ce05d663ff6d5 (patch)
tree59592459368f549623f5898a78a77ed787767127 /include/Contact.php
parent4eae1e5d8a37f206177c8eeb379c0f32aa84d5ab (diff)
downloadvolse-hubzilla-89c771a26e2eca3af8de82a5d57ce05d663ff6d5.tar.gz
volse-hubzilla-89c771a26e2eca3af8de82a5d57ce05d663ff6d5.tar.bz2
volse-hubzilla-89c771a26e2eca3af8de82a5d57ce05d663ff6d5.zip
remove queued items for contact when removing contact
Diffstat (limited to 'include/Contact.php')
-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)
+ );
+
}