From 97041ec7bea472673b4b340dfe88c55b9df9f63b Mon Sep 17 00:00:00 2001 From: "Uwe.Tews" Date: Sun, 21 Mar 2010 14:18:17 +0000 Subject: [PATCH] - removed unused code in compileAllTemplates() --- change_log.txt | 3 +++ libs/sysplugins/smarty_internal_utility.php | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/change_log.txt b/change_log.txt index d0549477..1a32a694 100644 --- a/change_log.txt +++ b/change_log.txt @@ -1,3 +1,6 @@ +21/03/2010 +- removed unused code in compileAllTemplates() + 19/03/2010 - bugfix for multiple {/block} tags on same line diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index abf7e1b4..800f5496 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -57,10 +57,6 @@ class Smarty_Internal_Utility { $_mtime = explode(" ", $_mtime); return (double)($_mtime[1]) + (double)($_mtime[0]); } - // set default directory - if ($dir_name === null) { - $dir_name = $this->smarty->template_dir; - } // switch off time limit if (function_exists('set_time_limit')) { @set_time_limit($time_limit);