aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Settings.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-11 21:46:16 -0700
committerredmatrix <git@macgirvin.com>2016-07-11 21:46:16 -0700
commited0e2b52d7cf66ada81208c5068f70568a0b2310 (patch)
tree0605b2b7edc74f3c03e574a4f974d9c1cd581472 /Zotlabs/Module/Settings.php
parent168d35747da8730a7e3a1e6cb40d4f411e147be3 (diff)
downloadvolse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.gz
volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.bz2
volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.zip
move permissiondescription class to zotlabs/lib
Diffstat (limited to 'Zotlabs/Module/Settings.php')
-rw-r--r--Zotlabs/Module/Settings.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Settings.php b/Zotlabs/Module/Settings.php
index 875004fae..af246a4dc 100644
--- a/Zotlabs/Module/Settings.php
+++ b/Zotlabs/Module/Settings.php
@@ -2,8 +2,6 @@
namespace Zotlabs\Module; /** @file */
require_once('include/zot.php');
-require_once('include/PermissionDescription.php');
-
class Settings extends \Zotlabs\Web\Controller {
@@ -1066,7 +1064,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 and Publish Permissions'),
'$permdesc' => t("\x28click to open/close\x29"),
- '$aclselect' => populate_acl($perm_defaults, false, \PermissionDescription::fromDescription(t('Use my default audience setting for the type of object published'))),
+ '$aclselect' => populate_acl($perm_defaults, false, \Zotlabs\Lib\PermissionDescription::fromDescription(t('Use my default audience setting for the type of object published'))),
'$suggestme' => $suggestme,
'$group_select' => $group_select,
'$role' => array('permissions_role' , t('Channel permissions category:'), $permissions_role, '', get_roles()),