Skip to content

Commit 16af890

Browse files
committed
Remove redundant translation path
1 parent ecf54d5 commit 16af890

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/FrameworkExtension.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1154,9 +1154,6 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
11541154
if ($container->fileExists($dir = $bundle['path'].'/Resources/translations')) {
11551155
$dirs[] = $dir;
11561156
}
1157-
if ($container->fileExists($dir = $defaultDir.'/'.$name)) {
1158-
$dirs[] = $dir;
1159-
}
11601157
if ($container->fileExists($dir = $rootDir.sprintf('/Resources/%s/translations', $name))) {
11611158
$dirs[] = $dir;
11621159
}

0 commit comments

Comments
 (0)