aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Server.php
diff options
context:
space:
mode:
authorAndrew Summers <18727110+summersab@users.noreply.github.com>2023-08-29 18:02:44 -0500
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-23 15:49:01 +0100
commite69ca0632aae71309ad98ebd22bfc8c3f8115ba4 (patch)
tree0950f41f1e50669345e6b84629aa5e30501061a9 /lib/private/Server.php
parenta88c1bdfb61d4c141d90e6864971f6d456417604 (diff)
downloadnextcloud-server-e69ca0632aae71309ad98ebd22bfc8c3f8115ba4.tar.gz
nextcloud-server-e69ca0632aae71309ad98ebd22bfc8c3f8115ba4.zip
Refactor `OC\Server::getEventLogger`
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
Diffstat (limited to 'lib/private/Server.php')
-rw-r--r--lib/private/Server.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Server.php b/lib/private/Server.php
index 8de4fa7d5ca..9009c330c71 100644
--- a/lib/private/Server.php
+++ b/lib/private/Server.php
@@ -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) {