From ec2e05b2ab4f9e2a106c58e50cd5261241ed0d46 Mon Sep 17 00:00:00 2001 From: conory Date: Sat, 19 Dec 2015 11:00:12 +0900 Subject: [PATCH] =?UTF-8?q?=ED=8C=8C=EC=9D=BC=EC=BA=90=EC=8B=9C=EC=9D=98?= =?UTF-8?q?=20=EC=9E=98=EB=AA=BB=EB=90=9C=20=EC=A3=BC=EC=84=9D=EC=88=98?= =?UTF-8?q?=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- classes/cache/CacheFile.class.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/classes/cache/CacheFile.class.php b/classes/cache/CacheFile.class.php index 5540bb8ba..150f634b6 100644 --- a/classes/cache/CacheFile.class.php +++ b/classes/cache/CacheFile.class.php @@ -88,7 +88,8 @@ class CacheFile extends CacheBase * Return whether cache is valid or invalid * * @param string $key Cache key - * @param int $modified_time Not used + * @param int $modified_time Unix time of data modified. + * If stored time is older then modified time, return false. * @return bool Return true on valid or false on invalid. */ function isValid($key, $modified_time = 0) @@ -113,7 +114,8 @@ class CacheFile extends CacheBase * Fetch a stored variable from the cache * * @param string $key The $key used to store the value. - * @param int $modified_time Not used + * @param int $modified_time Unix time of data modified. + * If stored time is older then modified time, return false. * @return false|mixed Return false on failure. Return the string associated with the $key on success. */ function get($key, $modified_time = 0)