Skip to content
Snippets Groups Projects
Unverified Commit f376b9fe authored by Joas Schilling's avatar Joas Schilling
Browse files

Fix creation of the Manager

parent 9690b315
No related branches found
No related tags found
No related merge requests found
...@@ -899,7 +899,8 @@ class Server extends ServerContainer implements IServerContainer { ...@@ -899,7 +899,8 @@ class Server extends ServerContainer implements IServerContainer {
}); });
$this->registerService(\OCP\Notification\IManager::class, function (Server $c) { $this->registerService(\OCP\Notification\IManager::class, function (Server $c) {
return new Manager( return new Manager(
$c->query(IValidator::class) $c->query(IValidator::class),
$c->getLogger()
); );
}); });
$this->registerAlias('NotificationManager', \OCP\Notification\IManager::class); $this->registerAlias('NotificationManager', \OCP\Notification\IManager::class);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment