]> source.dussan.org Git - nextcloud-server.git/commitdiff
Refactor `OC\Server::getEventLogger` 40135/head
authorAndrew Summers <18727110+summersab@users.noreply.github.com>
Tue, 29 Aug 2023 23:02:44 +0000 (18:02 -0500)
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>
Fri, 23 Feb 2024 14:49:01 +0000 (15:49 +0100)
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
lib/private/Server.php

index 8de4fa7d5ca252043104597532158109e4c302c5..9009c330c7187f8371d0c2de8d68a7eec3c4d438 100644 (file)
@@ -716,7 +716,7 @@ class Server extends ServerContainer implements IServerContainer {
 
                $this->registerService('RedisFactory', function (Server $c) {
                        $systemConfig = $c->get(SystemConfig::class);
-                       return new RedisFactory($systemConfig, $c->getEventLogger());
+                       return new RedisFactory($systemConfig, $c->get(IEventLogger::class));
                });
 
                $this->registerService(\OCP\Activity\IManager::class, function (Server $c) {