Skip to content

Commit

Permalink
Refactor OC\Server::getEventLogger
Browse files Browse the repository at this point in the history
Signed-off-by: Andrew Summers <[email protected]>
  • Loading branch information
summersab committed Aug 30, 2023
1 parent 613cd16 commit ee7abb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/private/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ public function __construct($webRoot, \OC\Config $config) {

$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) {
Expand Down

0 comments on commit ee7abb9

Please sign in to comment.