mirror of
https://github.com/discourse/discourse.git
synced 2024-12-17 17:04:09 +08:00
10 lines
183 B
Ruby
10 lines
183 B
Ruby
|
require_dependency "upload_fixer"
|
||
|
|
||
|
module Jobs
|
||
|
class FixInvalidUploadExtensions < Jobs::Onceoff
|
||
|
def execute_onceoff(args)
|
||
|
UploadFixer.fix_all_extensions
|
||
|
end
|
||
|
end
|
||
|
end
|