From cba54ad3d8867ed9fc3d847b138a320ff09c4356 Mon Sep 17 00:00:00 2001 From: "monte.ohrt" Date: Wed, 10 Mar 2010 16:21:16 +0000 Subject: [PATCH] remove old API call --- libs/sysplugins/smarty_internal_template.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sysplugins/smarty_internal_template.php b/libs/sysplugins/smarty_internal_template.php index 2bba1bf6..b3597842 100644 --- a/libs/sysplugins/smarty_internal_template.php +++ b/libs/sysplugins/smarty_internal_template.php @@ -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 { } -?> \ No newline at end of file +?>