From 94dff13c89b94d8fe5071d6b2bda067a489f3182 Mon Sep 17 00:00:00 2001 From: rodneyrehm Date: Thu, 13 Oct 2011 13:41:59 +0000 Subject: [PATCH] removing todos --- libs/sysplugins/smarty_cacheresource_keyvaluestore.php | 3 --- libs/sysplugins/smarty_internal_cacheresource_file.php | 3 --- libs/sysplugins/smarty_internal_utility.php | 3 --- 3 files changed, 9 deletions(-) diff --git a/libs/sysplugins/smarty_cacheresource_keyvaluestore.php b/libs/sysplugins/smarty_cacheresource_keyvaluestore.php index 01071d5e..2f4ebeac 100644 --- a/libs/sysplugins/smarty_cacheresource_keyvaluestore.php +++ b/libs/sysplugins/smarty_cacheresource_keyvaluestore.php @@ -177,9 +177,6 @@ abstract class Smarty_CacheResource_KeyValueStore extends Smarty_CacheResource { $uid = $tpl->source->uid; } - // TODO: uwe.tews check if $tpl->compile_id vs. $compile_id is correct - // from what I can see $tpl->compile_id would always be null?! - // remove from template cache $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id); unset($smarty->template_objects[$_templateId]); diff --git a/libs/sysplugins/smarty_internal_cacheresource_file.php b/libs/sysplugins/smarty_internal_cacheresource_file.php index aaeb4dd9..c5e985b6 100644 --- a/libs/sysplugins/smarty_internal_cacheresource_file.php +++ b/libs/sysplugins/smarty_internal_cacheresource_file.php @@ -152,9 +152,6 @@ class Smarty_Internal_CacheResource_File extends Smarty_CacheResource { $tpl = new $smarty->template_class($resource_name, $smarty); $smarty->caching = $_save_stat; - // TODO: uwe.tews check if $tpl->compile_id vs. $compile_id is correct - // from what I can see $tpl->compile_id would always be null?! - // remove from template cache $tpl->source; // have the template registered before unset() $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id); diff --git a/libs/sysplugins/smarty_internal_utility.php b/libs/sysplugins/smarty_internal_utility.php index bc666003..01d2c5c5 100644 --- a/libs/sysplugins/smarty_internal_utility.php +++ b/libs/sysplugins/smarty_internal_utility.php @@ -190,9 +190,6 @@ class Smarty_Internal_Utility { $tpl = new $smarty->template_class($resource_name, $smarty); $smarty->caching = $_save_stat; - // TODO: uwe.tews check if $tpl->compile_id vs. $compile_id is correct - // from what I can see $tpl->compile_id would always be null?! - // remove from template cache $tpl->source; // have the template registered before unset() $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id);