MigrateUploadScheme should use execute_onceoff
This commit is contained in:
parent
89e506551a
commit
1d9e175bc2
|
@ -2,7 +2,7 @@ module Jobs
|
||||||
|
|
||||||
class MigrateUploadScheme < Jobs::Onceoff
|
class MigrateUploadScheme < Jobs::Onceoff
|
||||||
|
|
||||||
def execute(args)
|
def execute_onceoff(args)
|
||||||
return unless SiteSetting.migrate_to_new_scheme
|
return unless SiteSetting.migrate_to_new_scheme
|
||||||
|
|
||||||
# clean up failed uploads
|
# clean up failed uploads
|
||||||
|
|
Loading…
Reference in New Issue