mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-05 02:44:27 +02:00
removing todos
This commit is contained in:
@@ -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]);
|
||||
|
@@ -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);
|
||||
|
@@ -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);
|
||||
|
Reference in New Issue
Block a user