summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2009-06-19 08:46:44 +0000
committerDries Buytaert <dries@buytaert.net>2009-06-19 08:46:44 +0000
commit964dc32a31367ff0c62652f19931b62d531d3da2 (patch)
tree7838f8c9d1ce344421fd0adfffafcf12971ec47f /includes
parent9ed614595cf03113db4381c658248949482362db (diff)
downloadbrdo-964dc32a31367ff0c62652f19931b62d531d3da2.tar.gz
brdo-964dc32a31367ff0c62652f19931b62d531d3da2.tar.bz2
- Patch #409994 by jhodgdon et al: clarified the documentation.
Diffstat (limited to 'includes')
-rw-r--r--includes/cache.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/cache.inc b/includes/cache.inc
index 47a07d716..20e876bcd 100644
--- a/includes/cache.inc
+++ b/includes/cache.inc
@@ -135,9 +135,9 @@ function cache_set($cid, $data, $bin = 'cache', $expire = CACHE_PERMANENT, array
* argument if $cid is set.
*
* @param $wildcard
- * If set to TRUE, the $cid is treated as a substring
- * to match rather than a complete ID. The match is a right hand
- * match. If '*' is given as $cid, the bin $bin will be emptied.
+ * If $wildcard is TRUE, cache IDs starting with $cid are deleted in
+ * addition to the exact cache ID specified by $cid. If $wildcard is
+ * TRUE and $cid is '*' then the entire table $table is emptied.
*/
function cache_clear_all($cid = NULL, $bin = NULL, $wildcard = FALSE) {
if (!isset($cid) && !isset($bin)) {