aboutsummaryrefslogtreecommitdiffstats
path: root/mod/cloud.php
diff options
context:
space:
mode:
authorKlaus <Klaus.Weidenbach@gmx.net>2014-10-12 21:10:04 +0200
committerKlaus <Klaus.Weidenbach@gmx.net>2014-10-12 21:10:04 +0200
commit5aae5862f285d9340b37abfb3c390c2816692c6d (patch)
treea70231d63a857a6577a494fde029ed837496fa2e /mod/cloud.php
parentdc4593f5b54112093c94cc2ea39a4f2d138c1432 (diff)
downloadvolse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.tar.gz
volse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.tar.bz2
volse-hubzilla-5aae5862f285d9340b37abfb3c390c2816692c6d.zip
A fix, but I have no case to verify.
I could not find out under which conditions this is relevant and therefore have no test case, but it must be of instance RedDAV\RedFile.
Diffstat (limited to 'mod/cloud.php')
-rw-r--r--mod/cloud.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/cloud.php b/mod/cloud.php
index a8875fd29..27724f6b0 100644
--- a/mod/cloud.php
+++ b/mod/cloud.php
@@ -117,7 +117,7 @@ function cloud_init(&$a) {
if ((! $auth->observer) && ($_SERVER['REQUEST_METHOD'] === 'GET')) {
try {
$x = RedFileData('/' . $a->cmd, $auth);
- if($x instanceof RedFile)
+ if($x instanceof RedDAV\RedFile)
$isapublic_file = true;
}
catch (Exception $e) {
@@ -150,4 +150,4 @@ function cloud_init(&$a) {
$server->exec();
killme();
-} \ No newline at end of file
+}