aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Filestorage.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/Filestorage.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/Filestorage.php')
-rw-r--r--Zotlabs/Module/Filestorage.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php
index 2861f31be..c3ef22e32 100644
--- a/Zotlabs/Module/Filestorage.php
+++ b/Zotlabs/Module/Filestorage.php
@@ -6,7 +6,6 @@ namespace Zotlabs\Module;
*/
require_once('include/attach.php');
-require_once('include/PermissionDescription.php');
/**
@@ -134,7 +133,7 @@ class Filestorage extends \Zotlabs\Web\Controller {
$cloudpath = get_cloudpath($f) . (intval($f['is_dir']) ? '?f=&davguest=1' : '');
$parentpath = get_parent_cloudpath($channel['channel_id'], $channel['channel_address'], $f['hash']);
- $aclselect_e = populate_acl($f, false, \PermissionDescription::fromGlobalPermission('view_storage'));
+ $aclselect_e = populate_acl($f, false, \Zotlabs\Lib\PermissionDescription::fromGlobalPermission('view_storage'));
$is_a_dir = (intval($f['is_dir']) ? true : false);
$lockstate = (($f['allow_cid'] || $f['allow_gid'] || $f['deny_cid'] || $f['deny_gid']) ? 'lock' : 'unlock');