From 982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe Mon Sep 17 00:00:00 2001 From: redmatrix Date: Thu, 1 Oct 2015 19:54:28 -0700 Subject: one more change --- include/Contact.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/Contact.php') diff --git a/include/Contact.php b/include/Contact.php index 008574d8f..8e22c608e 100644 --- a/include/Contact.php +++ b/include/Contact.php @@ -319,6 +319,8 @@ function channel_remove($channel_id, $local = true, $unset_session=true) { q("DELETE FROM `pconfig` WHERE `uid` = %d", intval($channel_id)); q("DELETE FROM `spam` WHERE `uid` = %d", intval($channel_id)); + // @FIXME At this stage we need to remove the file resources located under /store/$nickname + q("delete from abook where abook_xchan = '%s' and abook_self = 1 ", dbesc($channel['channel_hash']) -- cgit v1.2.3