summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 068c89dd8e2..7b1ea50d5f3 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -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)
);
});
}