aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-11 17:45:10 -0700
committerredmatrix <git@macgirvin.com>2016-07-11 17:45:10 -0700
commita01baab4f0dc1654dfe2d2cc6fc78e5c3c8d9f4e (patch)
treea0c5e55621e24f0fce38a827613fc16d6b56f199 /include/security.php
parent71b001fdb7f4c900f6e7ff15a29952d6dc82c1fc (diff)
parent17c3e12eabf93fe76061af0b97d25c6a9d080025 (diff)
downloadvolse-hubzilla-a01baab4f0dc1654dfe2d2cc6fc78e5c3c8d9f4e.tar.gz
volse-hubzilla-a01baab4f0dc1654dfe2d2cc6fc78e5c3c8d9f4e.tar.bz2
volse-hubzilla-a01baab4f0dc1654dfe2d2cc6fc78e5c3c8d9f4e.zip
Merge branch 'dev' into perms
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 38045c8a9..6c245fa09 100644
--- a/include/security.php
+++ b/include/security.php
@@ -132,6 +132,10 @@ function change_channel($change_channel) {
}
if(! is_dir('store/' . $r[0]['channel_address']))
@os_mkdir('store/' . $r[0]['channel_address'], STORAGE_DEFAULT_PERMISSIONS,true);
+
+ $arr = [ 'channel_id' => $change_channel, 'chanx' => $ret ];
+ call_hooks('change_channel', $arr);
+
}
return $ret;