discourse/app/jobs/onceoff/fix_invalid_upload_extensio...

10 lines
183 B
Ruby
Raw Normal View History

require_dependency "upload_fixer"
module Jobs
class FixInvalidUploadExtensions < Jobs::Onceoff
def execute_onceoff(args)
UploadFixer.fix_all_extensions
end
end
end