made clear_cache() ignore compile_id when clearing cache_groups

This commit is contained in:
messju
2003-03-24 16:32:14 +00:00
parent d1fe24ec2d
commit 014debad30
2 changed files with 6 additions and 0 deletions

3
NEWS
View File

@@ -1,3 +1,6 @@
- made clear_cache() ignore compile_id, when clearing cache-groups (this
is when no $tpl_file is supplied) (messju)
- made onmouseout XHTML-compliant in function.popup.php (messju)
- applied local-var-naming-scheme to fetch() (messju)
- renamed $localvars to $_localvars in cache-file-handling-functions,
added _get_auto_id()-function (messju)

View File

@@ -911,6 +911,9 @@ class Smarty
if (!isset($compile_id))
$compile_id = $this->compile_id;
if (!isset($tpl_file))
$compile_id = null;
$_auto_id = $this->_get_auto_id($cache_id, $compile_id);
if (!empty($this->cache_handler_func)) {