From 3180b358076011d6a65b93bfa9323465447c755d Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Thu, 24 Nov 2022 08:16:56 +0300 Subject: deprecate DiskCache->touch() --- classes/cache/local.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'classes/cache/local.php') diff --git a/classes/cache/local.php b/classes/cache/local.php index 4461ef4ca..62f33662a 100644 --- a/classes/cache/local.php +++ b/classes/cache/local.php @@ -66,10 +66,6 @@ class Cache_Local implements Cache_Adapter { return file_put_contents($this->get_full_path($filename), $data); } - public function touch(string $filename): bool { - return touch($this->get_full_path($filename)); - } - /** * @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