From dde6bc506bd4760f2497e525219d46806bae78b9 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sun, 9 Aug 2015 20:54:13 +0200 Subject: [PATCH] remove unneeded method --- .../smarty_internal_resource_file.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/libs/sysplugins/smarty_internal_resource_file.php b/libs/sysplugins/smarty_internal_resource_file.php index 3d241e70..7c9ced40 100644 --- a/libs/sysplugins/smarty_internal_resource_file.php +++ b/libs/sysplugins/smarty_internal_resource_file.php @@ -104,22 +104,7 @@ class Smarty_Internal_Resource_File extends Smarty_Resource return false; } - /** - * test is file exists and save timestamp - * - * @param Smarty_Template_Source $source source object - * @param string $file file name - * - * @return bool true if file exists - */ - protected function fileExists(Smarty_Template_Source $source, $file) - { - $source->timestamp = $source->exists = is_file($file); - $source->timestamp = $source->exists ? filemtime($file) : false; - return $source->exists; - } - - /** + /** * populate Source Object with meta data from Resource * * @param Smarty_Template_Source $source source object