Removed unused variables

This commit is contained in:
Iltar van der Berg 2016-03-24 12:33:34 +01:00
parent bd6d9bb1c2
commit 9fea1ee4f4
1 changed files with 1 additions and 2 deletions

View File

@ -721,9 +721,8 @@ class FrameworkExtension extends Extension
->in($dirs)
;
$locales = array();
foreach ($finder as $file) {
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
list(, $locale) = explode('.', $file->getBasename(), 3);
if (!isset($files[$locale])) {
$files[$locale] = array();
}