summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2017-04-13 14:52:09 +0200
committerRoeland Jago Douma <roeland@famdouma.nl>2017-04-13 14:52:09 +0200
commit0f5682321e13295d93097688370569f3275043fa (patch)
tree02168cfe57da21f72322e31f33577d3dd43f8612 /lib
parentaef95b9b7d6493f933652521647f8d0d5bb81005 (diff)
downloadnextcloud-server-0f5682321e13295d93097688370569f3275043fa.tar.gz
nextcloud-server-0f5682321e13295d93097688370569f3275043fa.zip
Fix server container registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib')
-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)
);
});
}