diff --git a/src/Core/Cache.php b/src/Core/Cache.php index d0a04b9ec..15e5deba2 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 *