summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/publicwebdav.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-17 14:10:11 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-17 14:10:11 +0200
commit07fdeba50b47848c995d38408635020e08cecb19 (patch)
treee1c8fd8432c11f3de08b01334250c48541a2fa6d /apps/files_sharing/publicwebdav.php
parent2219087df6b3226e257547e5a02e120486ab4579 (diff)
downloadnextcloud-server-07fdeba50b47848c995d38408635020e08cecb19.tar.gz
nextcloud-server-07fdeba50b47848c995d38408635020e08cecb19.zip
Fix moving movablemount over webdav
Diffstat (limited to 'apps/files_sharing/publicwebdav.php')
-rw-r--r--apps/files_sharing/publicwebdav.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/publicwebdav.php b/apps/files_sharing/publicwebdav.php
index 4c0eb1537cd..684edd97670 100644
--- a/apps/files_sharing/publicwebdav.php
+++ b/apps/files_sharing/publicwebdav.php
@@ -64,7 +64,8 @@ $server->subscribeEvent('beforeMethod', function () use ($server, $objectTree, $
} else {
$root = new OC_Connector_Sabre_File($view, $rootInfo);
}
- $objectTree->init($root, $view);
+ $mountManager = \OC\Files\Filesystem::getMountManager();
+ $objectTree->init($root, $view, $mountManager);
$server->addPlugin(new OC_Connector_Sabre_AbortedUploadDetectionPlugin($view));
$server->addPlugin(new OC_Connector_Sabre_QuotaPlugin($view));