mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
DEV: Improve mbox import script
* Better documentation of settings * Add option to exclude trimmed parts of emails (enabled by default) to not revail email addresses
This commit is contained in:
@ -8,11 +8,7 @@ end
|
||||
|
||||
module ImportScripts
|
||||
module Mbox
|
||||
require_relative 'mbox/support/settings'
|
||||
|
||||
@settings = Settings.load(ARGV[0])
|
||||
|
||||
require_relative 'mbox/importer'
|
||||
Importer.new(@settings).perform
|
||||
Importer.new(ARGV[0]).perform
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user