mirror of
https://github.com/discourse/discourse.git
synced 2025-06-05 10:06:45 +08:00
FIX: A variable name typo
Not that this whole method is used much anymore.
This commit is contained in:
@ -329,7 +329,7 @@ class Upload < ActiveRecord::Base
|
||||
follow_redirect: true
|
||||
)
|
||||
rescue OpenURI::HTTPError
|
||||
retry if (retires += 1) < 1
|
||||
retry if (retries += 1) < 1
|
||||
next
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user