]> source.dussan.org Git - redmine.git/commitdiff
Merged r9582 from trunk.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 1 May 2012 16:13:00 +0000 (16:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 1 May 2012 16:13:00 +0000 (16:13 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@9606 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/tasks/email.rake

index 4406544a86ec42383f1076a0e80356e043036452..12cd37faa0c0db251a7c95f6c2d2b783601b3def 100644 (file)
@@ -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)