Skip to content

Commit

Permalink
Set the service plugin manager in Redis
Browse files Browse the repository at this point in the history
  • Loading branch information
xrosecky committed Jul 17, 2024
1 parent d2ce442 commit 2b31635
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion module/VuFind/src/VuFind/Session/RedisFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ public function __invoke(

$config = $container->get(\VuFind\Config\PluginManager::class)
->get('config')->Session ?? null;
return new $requestedName($this->getConnection($config), $config);
$service = new $requestedName($this->getConnection($config), $config);
$service->setDbServiceManager(
$container->get(\VuFind\Db\Service\PluginManager::class)
);
return $service;
}

/**
Expand Down

0 comments on commit 2b31635

Please sign in to comment.