Removed unused variables
This commit is contained in:
parent
bd6d9bb1c2
commit
9fea1ee4f4
@ -721,9 +721,8 @@ class FrameworkExtension extends Extension
|
|||||||
->in($dirs)
|
->in($dirs)
|
||||||
;
|
;
|
||||||
|
|
||||||
$locales = array();
|
|
||||||
foreach ($finder as $file) {
|
foreach ($finder as $file) {
|
||||||
list($domain, $locale, $format) = explode('.', $file->getBasename(), 3);
|
list(, $locale) = explode('.', $file->getBasename(), 3);
|
||||||
if (!isset($files[$locale])) {
|
if (!isset($files[$locale])) {
|
||||||
$files[$locale] = array();
|
$files[$locale] = array();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user