From: Aaron Schulz Date: Sat, 15 Aug 2015 19:33:58 +0000 (-0700) Subject: Made WANObjectCache::get() comments more accurate X-Git-Tag: 1.31.0-rc.0~10396^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/comptes/journal.php?a=commitdiff_plain;h=6ff5c6afe3aa1df07b2a3ea2b0cb0f192b9a8a2a;p=lhc%2Fweb%2Fwiklou.git Made WANObjectCache::get() comments more accurate Change-Id: I531c2dca6b552a6b3732d2506e7373c7d17b4b4c --- diff --git a/includes/libs/objectcache/WANObjectCache.php b/includes/libs/objectcache/WANObjectCache.php index e8837b330b..62b9296535 100644 --- a/includes/libs/objectcache/WANObjectCache.php +++ b/includes/libs/objectcache/WANObjectCache.php @@ -128,9 +128,9 @@ class WANObjectCache { * Fetch the value of a key from cache * * If passed in, $curTTL is set to the remaining TTL (current time left): - * - a) INF; if the key exists and has no TTL - * - b) float (>=0); if the key exists and has a TTL - * - c) float (<0); if the key is tombstoned or expired by $checkKeys + * - a) INF; if the key exists, has no TTL, and is not expired by $checkKeys + * - b) float (>=0); if the key exists, has a TTL, and is not expired by $checkKeys + * - c) float (<0); if the key is tombstoned or existing but expired by $checkKeys * - d) null; if the key does not exist and is not tombstoned * * If a key is tombstoned, $curTTL will reflect the time since delete().