make AvatarManager use LazyRootFolder, fixes #1251
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
b4ef49744b
commit
6a2e51b4d9
|
@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -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()
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue