Skip to content

Commit

Permalink
Initialize the root folder lazily
Browse files Browse the repository at this point in the history
  • Loading branch information
jvillafanez committed Mar 19, 2018
1 parent f2c5731 commit 53bb846
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ public function __construct($webRoot, \OC\Config $config) {
$this->registerService('AvatarManager', function (Server $c) {
return new AvatarManager(
$c->getUserManager(),
$c->getRootFolder(),
$c->getLazyRootFolder(), // initialize the root folder lazily
$c->getL10N('lib'),
$c->getLogger()
);
Expand Down

0 comments on commit 53bb846

Please sign in to comment.