From: Aaron Schulz Date: Tue, 12 May 2015 02:15:35 +0000 (-0700) Subject: More "check key" doc comments X-Git-Tag: 1.31.0-rc.0~11433^2 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/pie.php?a=commitdiff_plain;h=9b7d95fc961a78568bf6502bbb2546d6f23854af;p=lhc%2Fweb%2Fwiklou.git More "check key" doc comments Change-Id: Ide66bc396e811776a58fd6aa7c1af2337ea185bd --- diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index 92bd0bdfa6..3099dcec4c 100755 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -263,6 +263,8 @@ class WANObjectCache { /** * Fetch the value of a timestamp "check" key * + * Note that "check" keys won't collide with other regular keys + * * @param string $key * @return float|bool TS_UNIX timestamp of the key; false if not present */ @@ -283,6 +285,8 @@ class WANObjectCache { * avoid race conditions where dependent keys get updated with a * stale value (e.g. from a DB slave). * + * Note that "check" keys won't collide with other regular keys + * * @see WANObjectCache::get() * * @param string $key Cache key