From 8eea856131ac95b19641afd8c8fac7d7b9abed92 Mon Sep 17 00:00:00 2001 From: Friendika Date: Sun, 5 Dec 2010 19:42:28 -0800 Subject: [PATCH] no newline at EOF --- cropper/cropper.html | 3 ++- include/Contact.php | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/cropper/cropper.html b/cropper/cropper.html index 6e3f09ebc0..2362352474 100644 --- a/cropper/cropper.html +++ b/cropper/cropper.html @@ -224,4 +224,5 @@ overflow:hidden; and then in your code surround the img tag with a div with the class name of no_cake. -Cheers \ No newline at end of file +Cheers + diff --git a/include/Contact.php b/include/Contact.php index a514a119ca..98d3e7c0b1 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) + ); }