]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused method Cache::getAllKeys()
authornupplaPhil <admin@philipp.info>
Mon, 6 Jan 2020 23:34:26 +0000 (00:34 +0100)
committernupplaPhil <admin@philipp.info>
Mon, 6 Jan 2020 23:36:06 +0000 (00:36 +0100)
src/Core/Cache.php

index d0a04b9ec16ec805bddd0dca4e14a124a9b783e4..15e5deba26a7023422bafacbeb0b4de471744c4d 100644 (file)
@@ -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
         *