diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-29 10:04:25 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-04-29 10:04:25 +0000 |
commit | 8d17242b8263b04eb0e9a56e1d560c800409bbe3 (patch) | |
tree | 839626eedc459a231e420b7e1cdbc9cea00a0171 /lib | |
parent | 1e491c0bfdcf24639c20a619c308436f47c652d1 (diff) | |
download | redmine-8d17242b8263b04eb0e9a56e1d560c800409bbe3.tar.gz redmine-8d17242b8263b04eb0e9a56e1d560c800409bbe3.zip |
Fixed task redmine:email:test broken by r9080.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9582 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-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) |