From: Hypolite Petovan Date: Wed, 26 Sep 2018 02:46:45 +0000 (-0400) Subject: Add missing "outdated" parameter to ICacheDriver->clear in Core\Cache X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d1148f61ea919e822be2a16b3eba525c8a639db6;p=friendica.git Add missing "outdated" parameter to ICacheDriver->clear in Core\Cache --- 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); } }