aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Rpost.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/Rpost.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/Rpost.php')
-rw-r--r--Zotlabs/Module/Rpost.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php
index 1396f2a55..32d52c30c 100644
--- a/Zotlabs/Module/Rpost.php
+++ b/Zotlabs/Module/Rpost.php
@@ -7,7 +7,6 @@ require_once('include/items.php');
require_once('include/taxonomy.php');
require_once('include/conversation.php');
require_once('include/zot.php');
-require_once('include/PermissionDescription.php');
/**
* remote post
@@ -116,7 +115,7 @@ class Rpost extends \Zotlabs\Web\Controller {
'default_location' => $channel['channel_location'],
'nickname' => $channel['channel_address'],
'lockstate' => (($acl->is_private()) ? 'lock' : 'unlock'),
- 'acl' => populate_acl($channel_acl, true, \PermissionDescription::fromGlobalPermission('view_stream'), get_post_aclDialogDescription(), 'acl_dialog_post'),
+ 'acl' => populate_acl($channel_acl, true, Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_stream'), get_post_aclDialogDescription(), 'acl_dialog_post'),
'bang' => '',
'visitor' => true,
'profile_uid' => local_channel(),