summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.php b/init.php
index c871c6d..d695b44 100644
--- a/init.php
+++ b/init.php
@@ -137,8 +137,7 @@ class Api_Resize_Media extends Plugin {
return;
}
- if (!$this->cache->exists($local_filename_flag))
- $this->cache->put($local_filename_flag, "");
+ $this->cache->put($local_filename_flag, "");
if (!$this->cache->exists($local_filename)) {
$data = UrlHelper::fetch(["url" => $url, "max_size" => Config::get(Config::MAX_CACHE_FILE_SIZE)]);