aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Webpages.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/Webpages.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/Webpages.php')
-rw-r--r--Zotlabs/Module/Webpages.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Webpages.php b/Zotlabs/Module/Webpages.php
index bb8d9c6ed..cc0a01cce 100644
--- a/Zotlabs/Module/Webpages.php
+++ b/Zotlabs/Module/Webpages.php
@@ -4,7 +4,6 @@ namespace Zotlabs\Module;
require_once('include/channel.php');
require_once('include/conversation.php');
require_once('include/acl_selectors.php');
-require_once('include/PermissionDescription.php');
class Webpages extends \Zotlabs\Web\Controller {
@@ -105,7 +104,7 @@ class Webpages extends \Zotlabs\Web\Controller {
'is_owner' => true,
'nickname' => \App::$profile['channel_address'],
'lockstate' => (($channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'),
- 'acl' => (($is_owner) ? populate_acl($channel_acl,false, \PermissionDescription::fromGlobalPermission('view_pages')) : ''),
+ 'acl' => (($is_owner) ? populate_acl($channel_acl,false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_pages')) : ''),
'showacl' => (($is_owner) ? true : false),
'visitor' => true,
'hide_location' => true,