aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-20 05:39:08 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-20 05:39:08 -0400
commite0d9d30bcf3b3b8f08bebc3ea6a8bbd20416f272 (patch)
tree27bd2e18dddc900edc39f34b47bfea749b3dcf61 /include/acl_selectors.php
parent50e581d88ad4901b13bbf99b2e58a5787b6bccec (diff)
parent9421e42dad0bee6e0aa292d390cf249e1d7f7df4 (diff)
downloadvolse-hubzilla-e0d9d30bcf3b3b8f08bebc3ea6a8bbd20416f272.tar.gz
volse-hubzilla-e0d9d30bcf3b3b8f08bebc3ea6a8bbd20416f272.tar.bz2
volse-hubzilla-e0d9d30bcf3b3b8f08bebc3ea6a8bbd20416f272.zip
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'include/acl_selectors.php')
-rw-r--r--include/acl_selectors.php4
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();