aboutsummaryrefslogtreecommitdiffstats
path: root/include/Contact.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-10-01 19:54:28 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-10-01 19:54:28 -0700
commit982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe (patch)
tree11610c48ccc095b385f16b6cb0c19815319d5ddd /include/Contact.php
parentebe374d572174e33dc3c4ea1e747efa88957f3be (diff)
downloadvolse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.tar.gz
volse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.tar.bz2
volse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.zip
one more change
Diffstat (limited to 'include/Contact.php')
-rw-r--r--include/Contact.php2
1 files changed, 2 insertions, 0 deletions
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'])