mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 06:09:15 +08:00
FIX: Always schedule pull_hotlinked_images in cooked_post_processor
The job is now used to pull optimized images, and images from other sites on the same CDN. This needs to run even if download_remote_images is false
This commit is contained in:
@ -626,8 +626,6 @@ class CookedPostProcessor
|
||||
end
|
||||
|
||||
def pull_hotlinked_images(bypass_bump = false)
|
||||
# is the job enabled?
|
||||
return unless SiteSetting.download_remote_images_to_local?
|
||||
# have we enough disk space?
|
||||
return if disable_if_low_on_disk_space
|
||||
# don't download remote images for posts that are more than n days old
|
||||
|
Reference in New Issue
Block a user