diff --git a/app/jobs/onceoff/migrate_upload_scheme.rb b/app/jobs/onceoff/migrate_upload_scheme.rb index 87c683a38fa..701dd9577ff 100644 --- a/app/jobs/onceoff/migrate_upload_scheme.rb +++ b/app/jobs/onceoff/migrate_upload_scheme.rb @@ -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