From f376b9fea7ba02fb3087ba2fb403c481a7053340 Mon Sep 17 00:00:00 2001
From: Joas Schilling <coding@schilljs.com>
Date: Fri, 12 Apr 2019 13:44:01 +0200
Subject: [PATCH] Fix creation of the Manager

Signed-off-by: Joas Schilling <coding@schilljs.com>
---
 lib/private/Server.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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