Disable email notifications before importing data.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2710 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang
2009-05-04 17:41:52 +00:00
parent 0a0d14d5a7
commit 19f44cd1cb
2 changed files with 7 additions and 1 deletions
+4 -1
View File
@@ -752,7 +752,10 @@ namespace :redmine do
prompt('Trac database encoding', :default => 'UTF-8') {|encoding| TracMigrate.encoding encoding}
prompt('Target project identifier') {|identifier| TracMigrate.target_project_identifier identifier}
puts
# Turn off email notifications
Setting.notified_events = []
TracMigrate.migrate
end
end