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:
parent
1e491c0bfd
commit
8d17242b82
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue