Fixed task redmine📧test broken by r9080.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9582 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-04-29 10:04:25 +00:00
parent 1e491c0bfd
commit 8d17242b82
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ END_DESC
ActionMailer::Base.raise_delivery_errors = true
begin
Mailer.deliver_test_email(User.current)
Mailer.deliver_test_email(user)
puts l(:notice_email_sent, user.mail)
rescue Exception => e
abort l(:notice_email_error, e.message)