Skip to content
This repository was archived by the owner on Apr 13, 2020. It is now read-only.

Commit daf5209

Browse files
committed
remove version check code
1 parent e63a33e commit daf5209

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

PHPUnit_Smarty.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -275,9 +275,6 @@ public function cleanCompileDir()
275275
if (isset($smarty)) {
276276
$dir = $smarty->getCompileDir();
277277
$this->cleanDir($dir);
278-
if (method_exists($smarty, '_isNewRelease')) {
279-
$smarty->_isNewRelease($dir);
280-
}
281278
}
282279
}
283280

@@ -291,10 +288,7 @@ public function cleanCacheDir()
291288
if (isset($smarty)) {
292289
$dir = $smarty->getCacheDir();
293290
$this->cleanDir($dir);
294-
if (method_exists($smarty, '_isNewRelease')) {
295-
$smarty->_isNewRelease($dir);
296-
}
297-
}
291+
}
298292
}
299293

300294
/**

0 commit comments

Comments
 (0)