diff options
author | redmatrix <git@macgirvin.com> | 2016-07-11 21:46:16 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-07-11 21:46:16 -0700 |
commit | ed0e2b52d7cf66ada81208c5068f70568a0b2310 (patch) | |
tree | 0605b2b7edc74f3c03e574a4f974d9c1cd581472 /include/acl_selectors.php | |
parent | 168d35747da8730a7e3a1e6cb40d4f411e147be3 (diff) | |
download | volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.gz volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.tar.bz2 volse-hubzilla-ed0e2b52d7cf66ada81208c5068f70568a0b2310.zip |
move permissiondescription class to zotlabs/lib
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r-- | include/acl_selectors.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/include/acl_selectors.php b/include/acl_selectors.php index 89d054e3b..148c67a6c 100644 --- a/include/acl_selectors.php +++ b/include/acl_selectors.php @@ -7,8 +7,6 @@ * @package acl_selectors */ -require_once("include/PermissionDescription.php"); - function group_select($selname,$selclass,$preselected = false,$size = 4) { $o = ''; @@ -231,7 +229,7 @@ function populate_acl($defaults = null,$show_jotnets = true, $emptyACL_descripti if(! $emptyACL_description) { $showall_caption = t('Visible to your default audience'); - } else if (is_a($emptyACL_description, 'PermissionDescription')) { + } else if (is_a($emptyACL_description, '\\Zotlabs\\Lib\\PermissionDescription')) { $showall_caption = $emptyACL_description->get_permission_description(); $showall_origin = (($role === 'custom') ? $emptyACL_description->get_permission_origin_description() : ''); $showall_icon = $emptyACL_description->get_permission_icon(); |