Fix creation of the Manager

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2019-04-12 13:44:01 +02:00
parent 9690b3153a
commit f376b9fea7
No known key found for this signature in database
GPG Key ID: 7076EA9751AACDDA
1 changed files with 2 additions and 1 deletions

View File

@ -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);