From 3369dfaad9d3e36235962f8c5aef4a461a4bd6d0 Mon Sep 17 00:00:00 2001 From: nupplaPhil Date: Tue, 7 Jan 2020 00:37:01 +0100 Subject: [PATCH] Remove unused function Cache::delete() --- src/Core/Cache.php | 13 ------------- 1 file changed, 13 deletions(-) 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); - } } -- 2.39.5