From a30b9bb649d6e10a5d7c2feb73376669cf23ef68 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 24 Nov 2022 23:31:33 +0300 Subject: rework favicon storage to use DiskCache --- classes/cache/adapter.php | 1 + 1 file changed, 1 insertion(+) (limited to 'classes/cache/adapter.php') diff --git a/classes/cache/adapter.php b/classes/cache/adapter.php index 514a14685..fecfc7667 100644 --- a/classes/cache/adapter.php +++ b/classes/cache/adapter.php @@ -21,6 +21,7 @@ interface Cache_Adapter { public function put(string $filename, $data); public function get(string $filename): ?string; public function get_full_path(string $filename): string; + public function remove(string $filename) : bool; /** * @return false|null|string false if detection failed, null if the file doesn't exist, string mime content type otherwise */ -- cgit v1.2.3-54-g00ecf