]> git.mxchange.org Git - friendica.git/commitdiff
Remove unused function Cache::delete()
authornupplaPhil <admin@philipp.info>
Mon, 6 Jan 2020 23:37:01 +0000 (00:37 +0100)
committernupplaPhil <admin@philipp.info>
Mon, 6 Jan 2020 23:37:01 +0000 (00:37 +0100)
src/Core/Cache.php

index 3e8a3f00475656a6c560e32a8cc1d5398cf11f53..0328cf84cb186b7f5f07d359bc092ce30a626ecf 100644 (file)
@@ -60,17 +60,4 @@ class Cache
        {
                return DI::cache()->set($key, $value, $duration);
        }
-
-       /**
-        * @brief Delete a value from the cache
-        *
-        * @param string $key The key to the cached data
-        *
-        * @return bool
-        * @throws \Exception
-        */
-       public static function delete($key)
-       {
-               return DI::cache()->delete($key);
-       }
 }