From d1148f61ea919e822be2a16b3eba525c8a639db6 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 25 Sep 2018 22:46:45 -0400 Subject: [PATCH] Add missing "outdated" parameter to ICacheDriver->clear in Core\Cache --- src/Core/Cache.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Core/Cache.php b/src/Core/Cache.php index cc77d9bfd0..81eacc80ff 100644 --- a/src/Core/Cache.php +++ b/src/Core/Cache.php @@ -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); } } -- 2.39.5