mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
We don't need to log downloading avatars that are too large
This commit is contained in:
parent
da92f35e08
commit
71414f7ba2
1 changed files with 0 additions and 1 deletions
|
@ -75,7 +75,6 @@ module ImportScripts::PhpBB3
|
|||
if avatar_file.size <= max_image_size_kb
|
||||
return avatar_file
|
||||
else
|
||||
Rails.logger.error("Failed to download remote avatar: #{url} - Image is larger than #{max_image_size_kb} KB")
|
||||
return nil
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue