Skip to content

Commit bd7b449

Browse files
committed
Merge branch '2.8' into 3.0
2 parents a859a21 + 759d977 commit bd7b449

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
@@ -709,9 +709,8 @@ private function registerTranslatorConfiguration(array $config, ContainerBuilder
709709
->in($dirs)
710710
;
711711

712-
$locales = array();
713712
foreach ($finder as $file) {
714-
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
713+
list(, $locale) = explode('.', $file->getBasename(), 3);
715714
if (!isset($files[$locale])) {
716715
$files[$locale] = array();
717716
}

0 commit comments

Comments
 (0)