diff options
-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)) { |