summaryrefslogtreecommitdiff
path: root/classes/cache/adapter.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-24 23:31:33 +0300
committerAndrew Dolgov <[email protected]>2022-11-24 23:31:33 +0300
commita30b9bb649d6e10a5d7c2feb73376669cf23ef68 (patch)
tree33716caf2286a0c544a2f053ea07c677aebd5fd4 /classes/cache/adapter.php
parentbe6bc72a742c5fb7f87a4495009ed71ff0fbb8d8 (diff)
rework favicon storage to use DiskCache
Diffstat (limited to 'classes/cache/adapter.php')
-rw-r--r--classes/cache/adapter.php1
1 files changed, 1 insertions, 0 deletions
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
*/