summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-08-19 08:08:45 +0000
committerDries Buytaert <dries@buytaert.net>2007-08-19 08:08:45 +0000
commit74292cd0625032180b2d178ae1c57e51462f121e (patch)
tree79ffaafcf1cd4c7b4a2dd2d33512228a0efb597c /includes
parente9c36f969752488ca33da745b15805c489932a30 (diff)
downloadbrdo-74292cd0625032180b2d178ae1c57e51462f121e.tar.gz
brdo-74292cd0625032180b2d178ae1c57e51462f121e.tar.bz2
- Patch #80951 by killes, yched et al: block caching.
Diffstat (limited to 'includes')
-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;
}