Skip to content

Commit

Permalink
Parameter ◊ is needed in prod environment too
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Jan 14, 2025
1 parent fb74973 commit 0379e53
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ class CommandAndQueryCollectorPass implements CompilerPassInterface
*/
public function process(ContainerBuilder $container): void
{
if (!in_array($container->getParameter('kernel.environment'), ['dev', 'test'])) {
return;
}

$commandsAndQueries = $this->findCommandsAndQueries($container);
$container->setParameter('prestashop.commands_and_queries', $commandsAndQueries);
}
Expand Down

0 comments on commit 0379e53

Please sign in to comment.