aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2010-12-05 19:42:28 -0800
committerFriendika <info@friendika.com>2010-12-05 19:42:28 -0800
commit8eea856131ac95b19641afd8c8fac7d7b9abed92 (patch)
tree1bbb71580859abef5a601c6360b0f645fe2a42b0 /include
parent184f8e143e29b998620ba4daf89084b3a17a32cc (diff)
downloadvolse-hubzilla-8eea856131ac95b19641afd8c8fac7d7b9abed92.tar.gz
volse-hubzilla-8eea856131ac95b19641afd8c8fac7d7b9abed92.tar.bz2
volse-hubzilla-8eea856131ac95b19641afd8c8fac7d7b9abed92.zip
no newline at EOF
Diffstat (limited to 'include')
-rw-r--r--include/Contact.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/Contact.php b/include/Contact.php
index a514a119c..98d3e7c0b 100644
--- a/include/Contact.php
+++ b/include/Contact.php
@@ -34,6 +34,9 @@ function contact_remove($id) {
q("DELETE FROM `photo` WHERE `contact-id` = %d ",
intval($id)
);
+ q("DELETE FROM `mail` WHERE `contact-id` = %d ",
+ intval($id)
+ );
}