Remove unused function Cache::delete()

This commit is contained in:
nupplaPhil 2020-01-07 00:37:01 +01:00
parent 182f390520
commit 3369dfaad9
No known key found for this signature in database
GPG Key ID: D8365C3D36B77D90

View 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);
}
}