remove old API call

This commit is contained in:
monte.ohrt
2010-03-10 16:21:16 +00:00
parent 5e2bf86e66
commit cba54ad3d8

View File

@@ -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 {
}
?>
?>