Version 4.3.0
This commit is contained in:
1 parent
96997ddd8e
commit
fe1acf984a
1349 files changed
+116159
-67711
No files matched your search
@@ -148,7 +148,7 @@ class _None extends \IPS\Data\Cache
|
||||
* @param mixed $value Value
|
||||
* @param \IPS\DateTime $expire Expiration if using database
|
||||
* @param bool $fallback Use database if no caching method is available?
|
||||
* @return void
|
||||
* @return bool
|
||||
*/
|
||||
public function storeWithExpire( $key, $value, \IPS\DateTime $expire, $fallback=FALSE )
|
||||
{
|
||||
@@ -159,7 +159,14 @@ class _None extends \IPS\Data\Cache
|
||||
'cache_value' => json_encode( $value ),
|
||||
'cache_expire' => $expire->getTimestamp()
|
||||
) );
|
||||
|
||||
$this->_data[ $key ] = $value;
|
||||
$this->_exists[ $key ] = $key;
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user