removing todos

This commit is contained in:
rodneyrehm
2011-10-13 13:41:59 +00:00
parent 6979b4efb0
commit 94dff13c89
3 changed files with 0 additions and 9 deletions

View File

@@ -177,9 +177,6 @@ abstract class Smarty_CacheResource_KeyValueStore extends Smarty_CacheResource {
$uid = $tpl->source->uid; $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 // remove from template cache
$_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id); $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id);
unset($smarty->template_objects[$_templateId]); unset($smarty->template_objects[$_templateId]);

View File

@@ -152,9 +152,6 @@ class Smarty_Internal_CacheResource_File extends Smarty_CacheResource {
$tpl = new $smarty->template_class($resource_name, $smarty); $tpl = new $smarty->template_class($resource_name, $smarty);
$smarty->caching = $_save_stat; $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 // remove from template cache
$tpl->source; // have the template registered before unset() $tpl->source; // have the template registered before unset()
$_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id); $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id);

View File

@@ -190,9 +190,6 @@ class Smarty_Internal_Utility {
$tpl = new $smarty->template_class($resource_name, $smarty); $tpl = new $smarty->template_class($resource_name, $smarty);
$smarty->caching = $_save_stat; $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 // remove from template cache
$tpl->source; // have the template registered before unset() $tpl->source; // have the template registered before unset()
$_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id); $_templateId = sha1($tpl->source->unique_resource . $tpl->cache_id . $tpl->compile_id);