mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 02:35:04 +08:00
FIX: A variable name typo
Not that this whole method is used much anymore.
This commit is contained in:
parent
47a1157458
commit
f28ea4751b
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user