Index: trunk/kernel/include/category.php =================================================================== diff -u -r1009 -r1022 --- trunk/kernel/include/category.php (.../category.php) (revision 1009) +++ trunk/kernel/include/category.php (.../category.php) (revision 1022) @@ -71,8 +71,11 @@ if($this->UsingTempTable()==FALSE) { $this->Permissions->Delete_CatPerms($this->Get("CategoryId")); - $sql = "DELETE FROM ".GetTablePrefix()."CountCache WHERE CategoryId=".$this->Get("CategoryId"); - $this->adodbConnection->Execute($sql); + + // TODO: find way to delete specific category cache only + /*$sql = "DELETE FROM ".GetTablePrefix()."CountCache WHERE CategoryId=".$this->Get("CategoryId"); + $this->adodbConnection->Execute($sql);*/ + $CatDeleteList[] = $this->Get("CategoryId"); if($this->Get("CreatedById")>0) $this->SendUserEventMail("CATEGORY.DELETE",$this->Get("CreatedById"));