Index: trunk/kernel/include/category.php =================================================================== diff -u -r916 -r1009 --- trunk/kernel/include/category.php (.../category.php) (revision 916) +++ trunk/kernel/include/category.php (.../category.php) (revision 1009) @@ -40,9 +40,10 @@ function ClearCacheData() { - $env = "':m".$this->Get("CategoryId")."%'"; + /*$env = "':m".$this->Get("CategoryId")."%'"; + DeleteTagCache("m_list_cats","",$env); */ DeleteTagCache("m_itemcount","Category%"); - DeleteTagCache("m_list_cats","",$env); + DeleteModuleTagCache('kernel'); } function DetectChanges($name, $value) @@ -1363,7 +1364,8 @@ return $res; } - function UpdateCacheCounts() +// not used anywhere + /* function UpdateCacheCounts() { global $objItemTypes; @@ -1374,7 +1376,7 @@ //echo "Updating count for ".$this->Get("CachedNavbar")."
\n"; UpdateCategoryCount(0,$CatId); } - } + }*/ /** * @return void