mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
MigrateUploadScheme should use execute_onceoff
This commit is contained in:
parent
89e506551a
commit
1d9e175bc2
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ module Jobs
|
|||
|
||||
class MigrateUploadScheme < Jobs::Onceoff
|
||||
|
||||
def execute(args)
|
||||
def execute_onceoff(args)
|
||||
return unless SiteSetting.migrate_to_new_scheme
|
||||
|
||||
# clean up failed uploads
|
||||
|
|
Loading…
Reference in a new issue