Skip to content
Prev Previous commit
Next Next commit
Fix creation of the Manager
Signed-off-by: Joas Schilling <[email protected]>
  • Loading branch information
nickvergessen committed Jul 15, 2019
commit f376b9fea7ba02fb3087ba2fb403c481a7053340
3 changes: 2 additions & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -899,7 +899,8 @@ public function __construct($webRoot, \OC\Config $config) {
});
$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);
Expand Down