aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Filestorage.php
diff options
context:
space:
mode:
authorgit-marijus <mario@mariovavti.com>2017-07-31 16:59:43 +0200
committergit-marijus <mario@mariovavti.com>2017-07-31 16:59:43 +0200
commit9ec995dbf072eb3143cae2b11a89522577a005ff (patch)
treed28c345216ad4cc0831b456d3cec1573c59b29c8 /Zotlabs/Module/Filestorage.php
parent79a806f328e27269d13f26deb0acee7ad8560f7a (diff)
downloadvolse-hubzilla-9ec995dbf072eb3143cae2b11a89522577a005ff.tar.gz
volse-hubzilla-9ec995dbf072eb3143cae2b11a89522577a005ff.tar.bz2
volse-hubzilla-9ec995dbf072eb3143cae2b11a89522577a005ff.zip
improve file_activity() a little
Diffstat (limited to 'Zotlabs/Module/Filestorage.php')
-rw-r--r--Zotlabs/Module/Filestorage.php10
1 files changed, 1 insertions, 9 deletions
diff --git a/Zotlabs/Module/Filestorage.php b/Zotlabs/Module/Filestorage.php
index 0b83dea34..55713027a 100644
--- a/Zotlabs/Module/Filestorage.php
+++ b/Zotlabs/Module/Filestorage.php
@@ -5,14 +5,6 @@ namespace Zotlabs\Module;
*
*/
-require_once('include/attach.php');
-
-
-/**
- *
- * @param object &$a
- */
-
class Filestorage extends \Zotlabs\Web\Controller {
function post() {
@@ -36,7 +28,7 @@ class Filestorage extends \Zotlabs\Web\Controller {
$channel = \App::get_channel();
$acl = new \Zotlabs\Access\AccessList($channel);
- $acl->set_from_array($_REQUEST);
+ $acl->set_from_array($_POST);
$x = $acl->get();
$url = get_cloud_url($channel_id, $channel['channel_address'], $resource);