diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 16:13:00 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 16:13:00 +0000 |
commit | b0951bff54559496fa98014511464e6c86def9a1 (patch) | |
tree | 27fcf6bc244db3177455dae3905951429eae3db7 | |
parent | 0a09984954ab2e75403b3eac4b1b1275a62b6966 (diff) | |
download | redmine-b0951bff54559496fa98014511464e6c86def9a1.tar.gz redmine-b0951bff54559496fa98014511464e6c86def9a1.zip |
Merged r9582 from trunk.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9606 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/email.rake | 2 |
1 files changed, 1 insertions, 1 deletions
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) |