From 74292cd0625032180b2d178ae1c57e51462f121e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 19 Aug 2007 08:08:45 +0000 Subject: - Patch #80951 by killes, yched et al: block caching. --- includes/cache.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'includes') diff --git a/includes/cache.inc b/includes/cache.inc index 9bf209044..c993a521c 100644 --- a/includes/cache.inc +++ b/includes/cache.inc @@ -114,7 +114,7 @@ function cache_set($cid, $data, $table = 'cache', $expire = CACHE_PERMANENT, $he /** * * Expire data from the cache. If called without arguments, expirable - * entries will be cleared from the cache_page table. + * entries will be cleared from the cache_page and cache_block tables. * * @param $cid * If set, the cache ID to delete. Otherwise, all cache entries that can @@ -134,6 +134,7 @@ function cache_clear_all($cid = NULL, $table = NULL, $wildcard = FALSE) { if (!isset($cid) && !isset($table)) { cache_clear_all(NULL, 'cache_page'); + cache_clear_all(NULL, 'cache_block'); return; } -- cgit v1.2.3