mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Remove unused line of code.
This commit is contained in:
@@ -130,7 +130,7 @@ class UploadCreator
|
||||
end
|
||||
|
||||
if @upload.errors.empty? && is_image && @opts[:type] == "avatar" && @upload.extension != "svg"
|
||||
Jobs.enqueue(:create_avatar_thumbnails, upload_id: @upload.id, user_id: user_id)
|
||||
Jobs.enqueue(:create_avatar_thumbnails, upload_id: @upload.id)
|
||||
end
|
||||
|
||||
if @upload.errors.empty?
|
||||
|
||||
Reference in New Issue
Block a user