diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-06-19 08:46:44 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-06-19 08:46:44 +0000 |
commit | 964dc32a31367ff0c62652f19931b62d531d3da2 (patch) | |
tree | 7838f8c9d1ce344421fd0adfffafcf12971ec47f /includes | |
parent | 9ed614595cf03113db4381c658248949482362db (diff) | |
download | brdo-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.inc | 6 |
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)) { |