]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix server container registration
authorRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Apr 2017 12:52:09 +0000 (14:52 +0200)
committerRoeland Jago Douma <roeland@famdouma.nl>
Thu, 13 Apr 2017 12:52:09 +0000 (14:52 +0200)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Server.php

index 068c89dd8e24f432e40964b71730255999320b2c..7b1ea50d5f38a3003dd9ae8bf89e223778858ebb 100644 (file)
@@ -982,7 +982,7 @@ class Server extends ServerContainer implements IServerContainer {
 
                $this->registerService(IShareHelper::class, function(Server $c) {
                        return new ShareHelper(
-                               $c->getLazyRootFolder()
+                               $c->query(\OCP\Share\IManager::class)
                        );
                });
        }