diff --git a/lib/cooked_post_processor.rb b/lib/cooked_post_processor.rb index 3c0f2c1aa16..52c837ecaf8 100644 --- a/lib/cooked_post_processor.rb +++ b/lib/cooked_post_processor.rb @@ -642,9 +642,9 @@ class CookedPostProcessor end def disable_if_low_on_disk_space + return false if Discourse.store.external? return false if !SiteSetting.download_remote_images_to_local return false if available_disk_space >= SiteSetting.download_remote_images_threshold - return false if Discourse.store.external? SiteSetting.download_remote_images_to_local = false # log the site setting change