From: nupplaPhil Date: Mon, 6 Jan 2020 23:37:01 +0000 (+0100) Subject: Remove unused function Cache::delete() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=3369dfaad9d3e36235962f8c5aef4a461a4bd6d0;p=friendica.git Remove unused function Cache::delete() --- diff --git a/src/Core/Cache.php b/src/Core/Cache.php index 3e8a3f0047..0328cf84cb 100644 --- a/src/Core/Cache.php +++ b/src/Core/Cache.php @@ -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); - } }