aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-10-26 19:41:53 -0700
committerfriendica <info@friendica.com>2014-10-26 19:41:53 -0700
commit812135bfabd49a8235b766eb56daf05e88263f33 (patch)
tree1ae39a50c179d75b4566e6ea2603ba651be6f395 /mod
parent655c3e1b4784f4bc37af1e1db0d7bcf313e71e66 (diff)
downloadvolse-hubzilla-812135bfabd49a8235b766eb56daf05e88263f33.tar.gz
volse-hubzilla-812135bfabd49a8235b766eb56daf05e88263f33.tar.bz2
volse-hubzilla-812135bfabd49a8235b766eb56daf05e88263f33.zip
reset ACL just in case it was custom already.
Diffstat (limited to 'mod')
-rw-r--r--mod/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/settings.php b/mod/settings.php
index 2027012ad..77e01d9b7 100644
--- a/mod/settings.php
+++ b/mod/settings.php
@@ -313,7 +313,7 @@ function settings_post(&$a) {
);
}
if($r) {
- q("update channel set channel_default_group = '%s', channel_allow_gid = '%s' where channel_id = %d limit 1",
+ q("update channel set channel_default_group = '%s', channel_allow_gid = '%s', channel_allow_cid = '', channel_deny_gid = '', channel_deny_cid = '' where channel_id = %d limit 1",
dbesc($r[0]['hash']),
dbesc('<' . $r[0]['hash'] . '>'),
intval(local_user())