From a371f5cab51c8a03eea898a7ed7f8773564fd066 Mon Sep 17 00:00:00 2001 From: El RIDO Date: Tue, 11 Nov 2025 12:49:37 +0100 Subject: [PATCH] remove dead code --- lib/View.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/View.php b/lib/View.php index 9a83e6e4..f1c192cc 100644 --- a/lib/View.php +++ b/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;