Skip to content

Commit 759d977

Browse files
committed
Merge branch '2.7' into 2.8
2 parents 8da68a8 + bdcf98c commit 759d977

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DependencyInjection/FrameworkExtension.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -734,9 +734,8 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
734734
->in($dirs)
735735
;
736736

737-
$locales = array();
738737
foreach ($finder as $file) {
739-
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
738+
list(, $locale) = explode('.', $file->getBasename(), 3);
740739
if (!isset($files[$locale])) {
741740
$files[$locale] = array();
742741
}

0 commit comments

Comments
 (0)