mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 12:31:06 +08:00
FIX: don't disable download_remote_images_to_local if site uses S3 (#7861)
This commit is contained in:
@ -642,6 +642,7 @@ class CookedPostProcessor
|
||||
def disable_if_low_on_disk_space
|
||||
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
|
||||
|
Reference in New Issue
Block a user