mirror of
https://github.com/friendica/friendica
synced 2024-12-24 14:00:15 +00:00
Add missing "outdated" parameter to ICacheDriver->clear in Core\Cache
This commit is contained in:
parent
df23f4f14f
commit
d1148f61ea
1 changed files with 3 additions and 3 deletions
|
@ -107,12 +107,12 @@ class Cache extends \Friendica\BaseObject
|
||||||
/**
|
/**
|
||||||
* @brief Remove outdated data from the cache
|
* @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
|
* @return void
|
||||||
*/
|
*/
|
||||||
public static function clear()
|
public static function clear($outdated = true)
|
||||||
{
|
{
|
||||||
return self::getDriver()->clear();
|
return self::getDriver()->clear($outdated);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue