Merge pull request #1723 from nextcloud/fix-1251-stable10-alt2

[stable10] make AvatarManager use LazyRootFolder, fixes #1251
This commit is contained in:
blizzz 2016-10-12 15:16:13 +02:00 committed by GitHub
commit 40bf26fe3c
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ class LazyRoot implements IRootFolder {
* @inheritDoc
*/
public function get($path) {
$this->__call(__FUNCTION__, func_get_args());
return $this->__call(__FUNCTION__, func_get_args());
}
/**

View File

@ -359,7 +359,7 @@ class Server extends ServerContainer implements IServerContainer {
$this->registerService('AvatarManager', function (Server $c) {
return new AvatarManager(
$c->getUserManager(),
$c->getRootFolder(),
$c->getLazyRootFolder(),
$c->getL10N('lib'),
$c->getLogger()
);