mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
파일캐시의 잘못된 주석수정
This commit is contained in:
parent
5ad1d3c59b
commit
ec2e05b2ab
1 changed files with 4 additions and 2 deletions
6
classes/cache/CacheFile.class.php
vendored
6
classes/cache/CacheFile.class.php
vendored
|
|
@ -88,7 +88,8 @@ class CacheFile extends CacheBase
|
||||||
* Return whether cache is valid or invalid
|
* Return whether cache is valid or invalid
|
||||||
*
|
*
|
||||||
* @param string $key Cache key
|
* @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.
|
* @return bool Return true on valid or false on invalid.
|
||||||
*/
|
*/
|
||||||
function isValid($key, $modified_time = 0)
|
function isValid($key, $modified_time = 0)
|
||||||
|
|
@ -113,7 +114,8 @@ class CacheFile extends CacheBase
|
||||||
* Fetch a stored variable from the cache
|
* Fetch a stored variable from the cache
|
||||||
*
|
*
|
||||||
* @param string $key The $key used to store the value.
|
* @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.
|
* @return false|mixed Return false on failure. Return the string associated with the $key on success.
|
||||||
*/
|
*/
|
||||||
function get($key, $modified_time = 0)
|
function get($key, $modified_time = 0)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue