diff options
-rw-r--r-- | init.php | 6 |
1 files changed, 0 insertions, 6 deletions
@@ -151,10 +151,7 @@ class Api_Resize_Media extends Plugin { $data = fetch_file_contents(["url" => $url, "max_size" => MAX_CACHE_FILE_SIZE]); if ($data) { - if ($this->cache->put($local_filename, $data)) { - - if ($this->cache->exists($resized_filename)) { header("Location: " . $this->cache->getUrl($resized_filename)); return; @@ -176,9 +173,6 @@ class Api_Resize_Media extends Plugin { return; } } - - } else { - print $data; } } else { global $fetch_last_error; |