diff --git a/lib/Cake/Cache/Cache.php b/lib/Cake/Cache/Cache.php index 2cba7dadc..f4be0c148 100644 --- a/lib/Cake/Cache/Cache.php +++ b/lib/Cake/Cache/Cache.php @@ -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 void + * @return boolean */ public static function gc($config = 'default', $expires = null) { - static::$_engines[$config]->gc($expires); + return static::$_engines[$config]->gc($expires); } /**