MigrateUploadScheme should use execute_onceoff

This commit is contained in:
Neil Lalonde 2016-05-05 16:04:24 -04:00
parent 89e506551a
commit 1d9e175bc2
1 changed files with 1 additions and 1 deletions

View File

@ -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