From 6ff5c6afe3aa1df07b2a3ea2b0cb0f192b9a8a2a Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 15 Aug 2015 12:33:58 -0700 Subject: [PATCH] Made WANObjectCache::get() comments more accurate Change-Id: I531c2dca6b552a6b3732d2506e7373c7d17b4b4c --- includes/libs/objectcache/WANObjectCache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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(). -- 2.20.1