aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/server.php
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-02-04 12:51:23 +0100
committerRoeland Jago Douma <rullzer@owncloud.com>2016-02-04 12:51:23 +0100
commitfc215d0980ec3cfa21ac64119bcec614cc1323bb (patch)
tree4b4aac5a83f642f35404fc1be7a593d58d77e8c8 /lib/private/server.php
parentcd16ba5cb3bf9333b0ecacab4bf152c1b692ed59 (diff)
downloadnextcloud-server-fc215d0980ec3cfa21ac64119bcec614cc1323bb.tar.gz
nextcloud-server-fc215d0980ec3cfa21ac64119bcec614cc1323bb.zip
Make the share object lazy
Share providers can now just pass in a fileId. And the node will only be created once needed.
Diffstat (limited to 'lib/private/server.php')
-rw-r--r--lib/private/server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/server.php b/lib/private/server.php
index 69406c2203f..55ac64a0c2d 100644
--- a/lib/private/server.php
+++ b/lib/private/server.php
@@ -618,7 +618,8 @@ class Server extends ServerContainer implements IServerContainer {
$c->getGroupManager(),
$c->getL10N('core'),
$factory,
- $c->getUserManager()
+ $c->getUserManager(),
+ $c->getRootFolder()
);
return $manager;