mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 03:14:27 +02:00
remove old API call
This commit is contained in:
@@ -338,7 +338,7 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
|
||||
$this->isCached = false;
|
||||
if (($this->caching == SMARTY_CACHING_LIFETIME_CURRENT || $this->caching == SMARTY_CACHING_LIFETIME_SAVED) && !$this->resource_object->isEvaluated) {
|
||||
if (!isset($this->cache_resource_object)) {
|
||||
$this->cache_resource_object = $this->smarty->loadCacheResource();
|
||||
$this->cache_resource_object = $this->smarty->cache->loadResource();
|
||||
}
|
||||
$cachedTimestamp = $this->getCachedTimestamp();
|
||||
if ($cachedTimestamp === false || $this->force_compile || $this->force_cache) {
|
||||
@@ -861,4 +861,4 @@ class Smarty_Internal_Template extends Smarty_Internal_Data {
|
||||
class Smarty_Template extends Smarty_Internal_Template {
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user