make AvatarManager use LazyRootFolder, fixes #1251

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
Arthur Schiwon 2016-10-12 14:08:12 +02:00
parent b4ef49744b
commit 6a2e51b4d9
No known key found for this signature in database
GPG Key ID: 7424F1874854DF23
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()
);