From b0951bff54559496fa98014511464e6c86def9a1 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 1 May 2012 16:13:00 +0000 Subject: [PATCH] Merged r9582 from trunk. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9606 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- lib/tasks/email.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5