Parcourir la source

remove dead code

El RIDO il y a 8 mois
Parent
commit
fffa9fb4e9
1 fichiers modifiés avec 0 ajouts et 1 suppressions
  1. 0 1
      lib/View.php

+ 0 - 1
lib/View.php

@@ -58,7 +58,6 @@ class View
         }
         foreach (new GlobIterator($dir . '*.php') as $tplFile) {
             if ($tplFile->getRealPath() === $path) {
-                $templatesInPath = new GlobIterator(PATH . 'tpl' . DIRECTORY_SEPARATOR . '*.php');
                 extract($this->_variables);
                 include $path;
                 return;