From: nupplaPhil Date: Mon, 6 Jan 2020 23:34:26 +0000 (+0100) Subject: Remove unused method Cache::getAllKeys() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f7ca437ba685878e410779c64a6a6f476b6381cd;p=friendica.git Remove unused method Cache::getAllKeys() --- diff --git a/src/Core/Cache.php b/src/Core/Cache.php index d0a04b9ec1..15e5deba26 100644 --- a/src/Core/Cache.php +++ b/src/Core/Cache.php @@ -31,19 +31,6 @@ class Cache /** @deprecated Use CacheClass::INFINITE */ const INFINITE = CacheClass::INFINITE; - /** - * @brief Returns all the cache keys sorted alphabetically - * - * @param string $prefix Prefix of the keys (optional) - * - * @return array Empty if the driver doesn't support this feature - * @throws \Exception - */ - public static function getAllKeys($prefix = null) - { - return DI::cache()->getAllKeys($prefix); - } - /** * @brief Fetch cached data according to the key *