##// END OF EJS Templates
Disable email notifications before importing data....
Jean-Philippe Lang -
r2614:19f44cd1cba9
parent child
Show More
@@ -504,6 +504,9 task :migrate_from_mantis => :environment do
504 504 # Make sure bugs can refer bugs in other projects
505 505 Setting.cross_project_issue_relations = 1 if Setting.respond_to? 'cross_project_issue_relations'
506 506
507 # Turn off email notifications
508 Setting.notified_events = []
509
507 510 MantisMigrate.establish_connection db_params
508 511 MantisMigrate.migrate
509 512 end
@@ -752,7 +752,10 namespace :redmine do
752 752 prompt('Trac database encoding', :default => 'UTF-8') {|encoding| TracMigrate.encoding encoding}
753 753 prompt('Target project identifier') {|identifier| TracMigrate.target_project_identifier identifier}
754 754 puts
755
755
756 # Turn off email notifications
757 Setting.notified_events = []
758
756 759 TracMigrate.migrate
757 760 end
758 761 end
General Comments 0
You need to be logged in to leave comments. Login now