remove dead code

This commit is contained in:
El RIDO 2025-11-11 12:49:37 +01:00 committed by GitHub
parent 51bb637411
commit a371f5cab5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;