diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-07-07 20:16:27 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-07-07 20:16:27 +0200 |
commit | 227320f6f01dec264de820863f971d3e92a486ff (patch) | |
tree | 09b5863ba0acf36c2727ca5b7f2659e148fc7dc8 /Zotlabs/Module/Cloud.php | |
parent | a59e84cadd257403e30d57dcf5e4ed8d0715965a (diff) | |
download | volse-hubzilla-227320f6f01dec264de820863f971d3e92a486ff.tar.gz volse-hubzilla-227320f6f01dec264de820863f971d3e92a486ff.tar.bz2 volse-hubzilla-227320f6f01dec264de820863f971d3e92a486ff.zip |
more fixes for /cloud and /dav
Diffstat (limited to 'Zotlabs/Module/Cloud.php')
-rw-r--r-- | Zotlabs/Module/Cloud.php | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php index 2ef67a3f3..9845c5658 100644 --- a/Zotlabs/Module/Cloud.php +++ b/Zotlabs/Module/Cloud.php @@ -78,17 +78,6 @@ class Cloud extends \Zotlabs\Web\Controller { $is_readable = false; - if($_SERVER['REQUEST_METHOD'] === 'GET') { - try { - $x = $rootDirectory->CollectionData('/' . \App::$cmd, $auth); - } - catch(\Exception $e) { - if($e instanceof Sabre\DAV\Exception\Forbidden) { - http_status_exit(401, 'Permission denied.'); - } - } - } - // provide a directory view for the cloud in Hubzilla $browser = new \Zotlabs\Storage\Browser($auth); $auth->setBrowserPlugin($browser); |