summaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2016-11-02 23:16:51 +0100
committerLukas Reschke <lukas@statuscode.ch>2016-11-02 23:16:51 +0100
commit68cebef64ca38ea93bc1006d667726f42d7f9805 (patch)
treee0f060c68fb0d85d303eabb263cd8666407bb072 /lib/private/Server.php
parent8653d1486243079426a855584111db519af6e544 (diff)
downloadnextcloud-server-68cebef64ca38ea93bc1006d667726f42d7f9805.tar.gz
nextcloud-server-68cebef64ca38ea93bc1006d667726f42d7f9805.zip
DI for root.php
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
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;