Skip to content

Commit d10f5d2

Browse files
committed
reverted unneeded code
1 parent 129e5d0 commit d10f5d2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

FrameworkBundle.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,8 @@ public function build(ContainerBuilder $container)
8585
$container->addCompilerPass(new AddCacheWarmerPass());
8686
$container->addCompilerPass(new AddCacheClearerPass());
8787
$container->addCompilerPass(new AddExpressionLanguageProvidersPass());
88-
if (class_exists('Symfony\Component\Translation\Translator')) {
89-
$container->addCompilerPass(new TranslationExtractorPass());
90-
$container->addCompilerPass(new TranslationDumperPass());
91-
}
88+
$container->addCompilerPass(new TranslationExtractorPass());
89+
$container->addCompilerPass(new TranslationDumperPass());
9290
$container->addCompilerPass(new FragmentRendererPass(), PassConfig::TYPE_AFTER_REMOVING);
9391
$container->addCompilerPass(new SerializerPass());
9492
$container->addCompilerPass(new PropertyInfoPass());

0 commit comments

Comments
 (0)