aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cloud.php
diff options
context:
space:
mode:
authorAndrew Manning <tamanning@zoho.com>2016-07-09 20:17:20 -0400
committerAndrew Manning <tamanning@zoho.com>2016-07-09 20:17:20 -0400
commit47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e (patch)
treefc325d9c111777700be5f69d0046940387196da6 /Zotlabs/Module/Cloud.php
parent0630609d6e60085f20d1430fd4044775dd9af5e9 (diff)
parente2574cf069dc29b1e8ca6bd64ee78b262206cef4 (diff)
downloadvolse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.gz
volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.tar.bz2
volse-hubzilla-47d7fc70e8cdf408cc7e5e5eb7e5f871d973136e.zip
Merge remote-tracking branch 'upstream/dev' into wiki
Diffstat (limited to 'Zotlabs/Module/Cloud.php')
-rw-r--r--Zotlabs/Module/Cloud.php12
1 files changed, 0 insertions, 12 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php
index 833b1b493..9845c5658 100644
--- a/Zotlabs/Module/Cloud.php
+++ b/Zotlabs/Module/Cloud.php
@@ -23,7 +23,6 @@ require_once('vendor/autoload.php');
class Cloud extends \Zotlabs\Web\Controller {
function init() {
- require_once('include/reddav.php');
if (! is_dir('store'))
os_mkdir('store', STORAGE_DEFAULT_PERMISSIONS, false);
@@ -79,17 +78,6 @@ class Cloud extends \Zotlabs\Web\Controller {
$is_readable = false;
- if($_SERVER['REQUEST_METHOD'] === 'GET') {
- try {
- $x = RedFileData('/' . \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);