aboutsummaryrefslogtreecommitdiffstats
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
parentebe374d572174e33dc3c4ea1e747efa88957f3be (diff)
downloadvolse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.tar.gz
volse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.tar.bz2
volse-hubzilla-982ff8733fc4c66833c94bb9d4c135f6fb3ed7fe.zip
one more change
-rw-r--r--include/Contact.php2
-rw-r--r--include/enotify.php1
2 files changed, 3 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'])
diff --git a/include/enotify.php b/include/enotify.php
index 6f4083155..80afe8ed6 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -315,6 +315,7 @@ function notification($params) {
'epreamble' => $epreamble,
'body' => $body,
'sitelink' => $sitelink,
+ 'sitename' => $sitename,
'tsitelink' => $tsitelink,
'hsitelink' => $hsitelink,
'itemlink' => $itemlink,