summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index dca50c15733..9f993ade7fe 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -182,7 +182,14 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerService('RootFolder', function (Server $c) {
$manager = \OC\Files\Filesystem::getMountManager(null);
$view = new View();
- $root = new Root($manager, $view, null, $c->getUserMountCache());
+ $root = new Root(
+ $manager,
+ $view,
+ null,
+ $c->getUserMountCache(),
+ $this->getLogger(),
+ $this->getUserManager()
+ );
$connector = new HookConnector($root, $view);
$connector->viewToNode();
return $root;