From 8eea856131ac95b19641afd8c8fac7d7b9abed92 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 5 Dec 2010 19:42:28 -0800 Subject: no newline at EOF --- include/Contact.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include') 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) + ); } -- cgit v1.2.3