From 964dc32a31367ff0c62652f19931b62d531d3da2 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 19 Jun 2009 08:46:44 +0000 Subject: - Patch #409994 by jhodgdon et al: clarified the documentation. --- includes/cache.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes') 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)) { -- cgit v1.2.3