summaryrefslogtreecommitdiffstats
path: root/apps/dav/lib/connector/sabre/serverfactory.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/lib/connector/sabre/serverfactory.php')
-rw-r--r--apps/dav/lib/connector/sabre/serverfactory.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/lib/connector/sabre/serverfactory.php b/apps/dav/lib/connector/sabre/serverfactory.php
index 9a828787a0d..8253948d96f 100644
--- a/apps/dav/lib/connector/sabre/serverfactory.php
+++ b/apps/dav/lib/connector/sabre/serverfactory.php
@@ -118,7 +118,7 @@ class ServerFactory {
$userFolder = \OC::$server->getUserFolder();
/** @var \OC\Files\View $view */
- $view = $viewCallBack();
+ $view = $viewCallBack($server);
$rootInfo = $view->getFileInfo('');
// Create ownCloud Dir