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 /Zotlabs/Module/Network.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 'Zotlabs/Module/Network.php')
-rw-r--r-- | Zotlabs/Module/Network.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Zotlabs/Module/Network.php b/Zotlabs/Module/Network.php index 87ed326e2..3b88cd8d6 100644 --- a/Zotlabs/Module/Network.php +++ b/Zotlabs/Module/Network.php @@ -6,8 +6,6 @@ require_once('include/group.php'); require_once('include/contact_widgets.php'); require_once('include/conversation.php'); require_once('include/acl_selectors.php'); -require_once('include/PermissionDescription.php'); - class Network extends \Zotlabs\Web\Controller { @@ -171,7 +169,7 @@ class Network extends \Zotlabs\Web\Controller { 'default_location' => $channel['channel_location'], 'nickname' => $channel['channel_address'], 'lockstate' => (($private_editing || $channel['channel_allow_cid'] || $channel['channel_allow_gid'] || $channel['channel_deny_cid'] || $channel['channel_deny_gid']) ? 'lock' : 'unlock'), - 'acl' => populate_acl((($private_editing) ? $def_acl : $channel_acl), true, \PermissionDescription::fromGlobalPermission('view_stream'), get_post_aclDialogDescription(), 'acl_dialog_post'), + 'acl' => populate_acl((($private_editing) ? $def_acl : $channel_acl), true, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_stream'), get_post_aclDialogDescription(), 'acl_dialog_post'), 'bang' => (($private_editing) ? '!' : ''), 'visitor' => true, 'profile_uid' => local_channel(), |