aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Cloud.php
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-04-18 20:47:11 -0700
committerredmatrix <git@macgirvin.com>2016-04-18 20:47:11 -0700
commitf53478f1427fb90538168bbf787efb2dd2b38682 (patch)
tree641ffffecbec6121ef7b873524291154c7af4e8a /Zotlabs/Module/Cloud.php
parent2a4e8972e0edfa3156d9ce54d68ce0e54c0ec289 (diff)
downloadvolse-hubzilla-f53478f1427fb90538168bbf787efb2dd2b38682.tar.gz
volse-hubzilla-f53478f1427fb90538168bbf787efb2dd2b38682.tar.bz2
volse-hubzilla-f53478f1427fb90538168bbf787efb2dd2b38682.zip
a bit more namespace wrangling
Diffstat (limited to 'Zotlabs/Module/Cloud.php')
-rw-r--r--Zotlabs/Module/Cloud.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Module/Cloud.php b/Zotlabs/Module/Cloud.php
index 0e04cb68b..5f40f4af1 100644
--- a/Zotlabs/Module/Cloud.php
+++ b/Zotlabs/Module/Cloud.php
@@ -7,7 +7,7 @@ namespace Zotlabs\Module;
* Module for accessing the DAV storage area.
*/
-use Sabre\DAV;
+use Sabre\DAV as SDAV;
use \Zotlabs\Storage;
// composer autoloader for SabreDAV
@@ -70,10 +70,10 @@ class Cloud extends \Zotlabs\Web\Controller {
$rootDirectory = new \Zotlabs\Storage\Directory('/', $auth);
// A SabreDAV server-object
- $server = new DAV\Server($rootDirectory);
+ $server = new SDAV\Server($rootDirectory);
// prevent overwriting changes each other with a lock backend
- $lockBackend = new DAV\Locks\Backend\File('store/[data]/locks');
- $lockPlugin = new DAV\Locks\Plugin($lockBackend);
+ $lockBackend = new SDAV\Locks\Backend\File('store/[data]/locks');
+ $lockPlugin = new SDAV\Locks\Plugin($lockBackend);
$server->addPlugin($lockPlugin);