aboutsummaryrefslogtreecommitdiffstats
path: root/include/acl_selectors.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-07-12 20:50:27 -0700
committerredmatrix <git@macgirvin.com>2016-07-12 20:50:27 -0700
commit6424bac47ce7f81991d23d2407cbb4c08dbfdf69 (patch)
tree5a664f58749fe45923f77881310cdd295859afb5 /include/acl_selectors.php
parenta01baab4f0dc1654dfe2d2cc6fc78e5c3c8d9f4e (diff)
parentbdd7d24ac1ccf8f7c5b8939cf23a6a156da959c1 (diff)
downloadvolse-hubzilla-6424bac47ce7f81991d23d2407cbb4c08dbfdf69.tar.gz
volse-hubzilla-6424bac47ce7f81991d23d2407cbb4c08dbfdf69.tar.bz2
volse-hubzilla-6424bac47ce7f81991d23d2407cbb4c08dbfdf69.zip
Merge branch 'dev' into perms
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();