Skip to content

Commit 11f91af

Browse files
committed
Revert "bug #46125 [FrameworkBundle] Always add CacheCollectorPass (fancyweb)"
This reverts commit 8b6f56e3805ab3231ffebfbe9648643a364af725, reversing changes made to fd1c94ba5676b9943e02a457166651a072b0018f.
1 parent 5142c8a commit 11f91af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FrameworkBundle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,12 +157,12 @@ public function build(ContainerBuilder $container)
157157
$container->addCompilerPass(new RegisterReverseContainerPass(true));
158158
$container->addCompilerPass(new RegisterReverseContainerPass(false), PassConfig::TYPE_AFTER_REMOVING);
159159
$container->addCompilerPass(new SessionPass());
160-
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
161160

162161
if ($container->getParameter('kernel.debug')) {
163162
$container->addCompilerPass(new AddDebugLogProcessorPass(), PassConfig::TYPE_BEFORE_OPTIMIZATION, 2);
164163
$container->addCompilerPass(new UnusedTagsPass(), PassConfig::TYPE_AFTER_REMOVING);
165164
$container->addCompilerPass(new ContainerBuilderDebugDumpPass(), PassConfig::TYPE_BEFORE_REMOVING, -255);
165+
$container->addCompilerPass(new CacheCollectorPass(), PassConfig::TYPE_BEFORE_REMOVING);
166166
}
167167
}
168168

0 commit comments

Comments
 (0)