aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.php
diff options
context:
space:
mode:
authorTreer <treer.git@the-bordello.com>2016-05-08 21:27:52 +1000
committerTreer <treer.git@the-bordello.com>2016-05-08 21:27:52 +1000
commit09ef30feb0e6f38ee3de34a37270cf796850b3d4 (patch)
tree0c3ef6ae7bd82e2b7337d8cb4b336faee89b7d59 /Zotlabs/Module/Settings.php
parente7a65c1f8d97b92e311beb064a7094216e23b119 (diff)
downloadvolse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.tar.gz
volse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.tar.bz2
volse-hubzilla-09ef30feb0e6f38ee3de34a37270cf796850b3d4.zip
Update some modules to use new ACL dialog feature
Diffstat (limited to 'Zotlabs/Module/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index 413648c4d..8674ca5e7 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -2,6 +2,8 @@
namespace Zotlabs\Module; /** @file */
require_once('include/zot.php');
+require_once('include/PermissionDescription.php');
+
class Settings extends \Zotlabs\Web\Controller {
@@ -1064,7 +1066,7 @@ class Settings extends \Zotlabs\Web\Controller {
'$maxreq' => array('maxreq', t('Maximum Friend Requests/Day:'), intval($channel['channel_max_friend_req']) , t('May reduce spam activity')),
'$permissions' => t('Default Post Permissions'),
'$permdesc' => t("\x28click to open/close\x29"),
- '$aclselect' => populate_acl($perm_defaults,false),
+ '$aclselect' => populate_acl($perm_defaults, false, \PermissionDescription::fromDescription(t('Use my default audience setting for the type of channel'))),
'$suggestme' => $suggestme,
'$group_select' => $group_select,
'$role' => array('permissions_role' , t('Channel permissions category:'), $permissions_role, '', get_roles()),