diff options
author | Andrew Dolgov <[email protected]> | 2022-11-24 08:16:56 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2022-11-24 08:16:56 +0300 |
commit | 3180b358076011d6a65b93bfa9323465447c755d (patch) | |
tree | 78227fa6147ffe0d08d3da2b59b07ae0ed22b768 /plugins/cache_starred_images/init.php | |
parent | 9732d8fc9ff976bea480b663012c6c6ec6dc9f01 (diff) |
deprecate DiskCache->touch()
Diffstat (limited to 'plugins/cache_starred_images/init.php')
-rwxr-xr-x | plugins/cache_starred_images/init.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/cache_starred_images/init.php b/plugins/cache_starred_images/init.php index eed5264c6..daaab2dca 100755 --- a/plugins/cache_starred_images/init.php +++ b/plugins/cache_starred_images/init.php @@ -31,10 +31,10 @@ class Cache_Starred_Images extends Plugin { chmod($this->cache_status->get_dir(), 0777); if (!$this->cache->exists(".no-auto-expiry")) - $this->cache->touch(".no-auto-expiry"); + $this->cache->put(".no-auto-expiry", ""); if (!$this->cache_status->exists(".no-auto-expiry")) - $this->cache_status->touch(".no-auto-expiry"); + $this->cache_status->put(".no-auto-expiry", ""); if ($this->cache->is_writable() && $this->cache_status->is_writable()) { $host->add_hook($host::HOOK_HOUSE_KEEPING, $this); |