1
0
Fork 0

Remove unused function Cache::delete()

This commit is contained in:
Philipp Holzer 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);
}
}