summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2022-11-24 08:17:45 +0300
committerAndrew Dolgov <[email protected]>2022-11-24 08:17:45 +0300
commit5fb2393bbc9d73e05ec5a02dd9c1bd81b2911956 (patch)
treeec106b26715bacdf2cc9597aa27182f8abad6a2f
parent11644a1fd7dbb7c54948475003ee95bc2bef12cf (diff)
stop using DiskCache->touch()
-rwxr-xr-xinit.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/init.php b/init.php
index 73bd862..ddbab9c 100755
--- a/init.php
+++ b/init.php
@@ -319,8 +319,6 @@ class Af_Img_Phash extends Plugin {
continue;
}
- $this->cache->touch($cached_file_flag);
-
// check for local cache
if (!$this->cache->exists($cached_file)) {
$data = fetch_file_contents(array("url" => $src, "max_size" => Config::get(Config::MAX_CACHE_FILE_SIZE)));