MigrateUploadScheme should use execute_onceoff

This commit is contained in:
Neil Lalonde 2016-05-05 16:04:24 -04:00
parent 89e506551a
commit 1d9e175bc2

View file

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