From: Jean-Philippe Lang Date: Tue, 1 May 2012 16:13:00 +0000 (+0000) Subject: Merged r9582 from trunk. X-Git-Tag: 1.4.2~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b0951bff54559496fa98014511464e6c86def9a1;p=redmine.git Merged r9582 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9606 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake index 4406544a8..12cd37faa 100644 --- a/lib/tasks/email.rake +++ b/lib/tasks/email.rake @@ -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)