]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix creation of the Manager
authorJoas Schilling <coding@schilljs.com>
Fri, 12 Apr 2019 11:44:01 +0000 (13:44 +0200)
committerJoas Schilling <coding@schilljs.com>
Mon, 15 Jul 2019 13:12:42 +0000 (15:12 +0200)
Signed-off-by: Joas Schilling <coding@schilljs.com>
lib/private/Server.php

index c716b996a37da43ea7136c32759adbac09006d55..28cd204a51924c54dc7976aae7c0b64ec1b766d4 100644 (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);