From 7645ae051253a06f9703e30b066e811af92e8c19 Mon Sep 17 00:00:00 2001 From: uwetews Date: Sat, 19 Nov 2016 18:02:13 +0100 Subject: [PATCH] remove version check code --- tests/PHPUnit_Smarty.php | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/PHPUnit_Smarty.php b/tests/PHPUnit_Smarty.php index f850b954..12e8d935 100644 --- a/tests/PHPUnit_Smarty.php +++ b/tests/PHPUnit_Smarty.php @@ -275,9 +275,6 @@ KEY `expire` (`expire`) if (isset($smarty)) { $dir = $smarty->getCompileDir(); $this->cleanDir($dir); - if (method_exists($smarty, '_isNewRelease')) { - $smarty->_isNewRelease($dir); - } } } @@ -291,10 +288,7 @@ KEY `expire` (`expire`) if (isset($smarty)) { $dir = $smarty->getCacheDir(); $this->cleanDir($dir); - if (method_exists($smarty, '_isNewRelease')) { - $smarty->_isNewRelease($dir); - } - } + } } /**