Fix the build.

This commit is contained in:
Guo Xiang Tan 2016-03-08 11:38:26 +08:00
parent 00078a438b
commit 322ee3e17c
1 changed files with 1 additions and 1 deletions

View File

@ -152,7 +152,7 @@ class CookedPostProcessor
return unless is_valid_image_url?(absolute_url) return unless is_valid_image_url?(absolute_url)
# we can *always* crawl our own images # we can *always* crawl our own images
return unless SiteSetting.crawl_images || Discourse.store.has_been_uploaded?(url) return unless SiteSetting.crawl_images? || Discourse.store.has_been_uploaded?(url)
@size_cache[url] ||= FastImage.size(absolute_url) @size_cache[url] ||= FastImage.size(absolute_url)
rescue Zlib::BufError # FastImage.size raises BufError for some gifs rescue Zlib::BufError # FastImage.size raises BufError for some gifs