Fix creation of the Manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
9690b3153a
commit
f376b9fea7
1 changed files with 2 additions and 1 deletions
|
@ -899,7 +899,8 @@ class Server extends ServerContainer implements IServerContainer {
|
|||
});
|
||||
$this->registerService(\OCP\Notification\IManager::class, function (Server $c) {
|
||||
return new Manager(
|
||||
$c->query(IValidator::class)
|
||||
$c->query(IValidator::class),
|
||||
$c->getLogger()
|
||||
);
|
||||
});
|
||||
$this->registerAlias('NotificationManager', \OCP\Notification\IManager::class);
|
||||
|
|
Loading…
Reference in a new issue