summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2019-04-12 13:44:01 +0200
committerJoas Schilling <coding@schilljs.com>2019-07-15 15:12:42 +0200
commitf376b9fea7ba02fb3087ba2fb403c481a7053340 (patch)
tree5a1185b26715f9ee266acc7bdf5dbf1b2d44b985
parent9690b3153a0909c04437d0730302045c82b63bb7 (diff)
downloadnextcloud-server-f376b9fea7ba02fb3087ba2fb403c481a7053340.tar.gz
nextcloud-server-f376b9fea7ba02fb3087ba2fb403c481a7053340.zip
Fix creation of the Manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--lib/private/Server.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index c716b996a37..28cd204a519 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -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);