We don't need to log downloading avatars that are too large

This commit is contained in:
Robin Ward 2017-05-09 14:46:42 -04:00
parent da92f35e08
commit 71414f7ba2

View File

@ -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