mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
parent
1a3598c3f4
commit
975262b03e
1 changed files with 2 additions and 2 deletions
|
@ -275,10 +275,10 @@ class Cache {
|
|||
*
|
||||
* @param string $config [optional] The config name you wish to have garbage collected. Defaults to 'default'
|
||||
* @param int $expires [optional] An expires timestamp. Defaults to NULL
|
||||
* @return bool
|
||||
* @return void
|
||||
*/
|
||||
public static function gc($config = 'default', $expires = null) {
|
||||
return static::$_engines[$config]->gc($expires);
|
||||
static::$_engines[$config]->gc($expires);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue