summaryrefslogtreecommitdiff
path: root/includes/cache.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/cache.inc')
-rw-r--r--includes/cache.inc3
1 files changed, 2 insertions, 1 deletions
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;
}