Преглед изворни кода

[Translation] removed unneeded assignement

Fabien Potencier пре 14 година
родитељ
комит
0131ff21c5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/Symfony/Component/Translation/Loader/ArrayLoader.php

+ 1 - 1
src/Symfony/Component/Translation/Loader/ArrayLoader.php

@@ -25,7 +25,7 @@ class ArrayLoader implements LoaderInterface
      */
     public function load($resource, $locale, $domain = 'messages')
     {
-        $catalogue = $this->flatten($resource);
+        $this->flatten($resource);
         $catalogue = new MessageCatalogue($locale);
         $catalogue->addMessages($resource, $domain);