Skip to content

Commit

Permalink
IBX-665: Added check for all affected services separately
Browse files Browse the repository at this point in the history
  • Loading branch information
webhdx committed Jun 29, 2021
1 parent 849a11f commit db17482
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,21 @@ public function process(ContainerBuilder $container)
$container
->getDefinition('session.storage.native')
->replaceArgument(1, new Reference('session.handler'));
}

if ($container->hasDefinition('session.storage.php_bridge')) {
$container
->getDefinition('session.storage.php_bridge')
->replaceArgument(0, new Reference('session.handler'));
} else {
}

if ($container->hasDefinition('session.storage.factory.native')) {
$container
->getDefinition('session.storage.factory.native')
->replaceArgument(1, new Reference('session.handler'));
}

if ($container->hasDefinition('session.storage.factory.php_bridge')) {
$container
->getDefinition('session.storage.factory.php_bridge')
->replaceArgument(0, new Reference('session.handler'));
Expand Down

0 comments on commit db17482

Please sign in to comment.