mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
remove version check code
This commit is contained in:
@@ -275,9 +275,6 @@ KEY `expire` (`expire`)
|
|||||||
if (isset($smarty)) {
|
if (isset($smarty)) {
|
||||||
$dir = $smarty->getCompileDir();
|
$dir = $smarty->getCompileDir();
|
||||||
$this->cleanDir($dir);
|
$this->cleanDir($dir);
|
||||||
if (method_exists($smarty, '_isNewRelease')) {
|
|
||||||
$smarty->_isNewRelease($dir);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -291,10 +288,7 @@ KEY `expire` (`expire`)
|
|||||||
if (isset($smarty)) {
|
if (isset($smarty)) {
|
||||||
$dir = $smarty->getCacheDir();
|
$dir = $smarty->getCacheDir();
|
||||||
$this->cleanDir($dir);
|
$this->cleanDir($dir);
|
||||||
if (method_exists($smarty, '_isNewRelease')) {
|
}
|
||||||
$smarty->_isNewRelease($dir);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user