[FrameworkBundle] Removed the kernel.debug parameter from the cache pool namespace seed

This commit is contained in:
Sander Toonen 2016-12-07 14:49:15 +01:00
parent ea78cf8d23
commit 8e1dac5507

View File

@ -30,7 +30,7 @@ class CachePoolPass implements CompilerPassInterface
{
$namespaceSuffix = '';
foreach (array('name', 'root_dir', 'environment', 'debug') as $key) {
foreach (array('name', 'root_dir', 'environment') as $key) {
if ($container->hasParameter('kernel.'.$key)) {
$namespaceSuffix .= '.'.$container->getParameter('kernel.'.$key);
}