deprecate DiskCache->touch()

This commit is contained in:
Andrew Dolgov
2022-11-24 08:16:56 +03:00
parent 9732d8fc9f
commit 3180b35807
5 changed files with 7 additions and 12 deletions

View File

@@ -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
*/