Browse Source

[WebBundle] removed unneeded code

Fabien Potencier 15 năm trước cách đây
mục cha
commit
f6a2b74a91
1 tập tin đã thay đổi với 0 bổ sung5 xóa
  1. 0 5
      src/Symfony/Framework/WebBundle/Util/Mustache.php

+ 0 - 5
src/Symfony/Framework/WebBundle/Util/Mustache.php

@@ -34,11 +34,6 @@ class Mustache
   {
     foreach (new \RecursiveIteratorIterator(new \RecursiveDirectoryIterator($dir), \RecursiveIteratorIterator::LEAVES_ONLY) as $file)
     {
-      if ($file instanceof \DirectoryIterator && $file->isDot())
-      {
-        continue;
-      }
-
       static::renderFile((string) $file, $parameters);
     }
   }