1
0
Fork 0

Add missing "outdated" parameter to ICacheDriver->clear in Core\Cache

This commit is contained in:
Hypolite Petovan 2018-09-25 22:46:45 -04:00
parent df23f4f14f
commit d1148f61ea

View file

@ -107,12 +107,12 @@ class Cache extends \Friendica\BaseObject
/**
* @brief Remove outdated data from the cache
*
* @param integer $max_level The maximum cache level that is to be cleared
* @param boolean $outdated just remove outdated values
*
* @return void
*/
public static function clear()
public static function clear($outdated = true)
{
return self::getDriver()->clear();
return self::getDriver()->clear($outdated);
}
}