summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-05 13:07:12 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2012-05-05 13:07:12 +0000
commit7af8d7caf06416a1d9b94f061a6d0b28fc6bc2d9 (patch)
tree740ef4bf2bd455d4730e086dc8908515e1b0ad96 /lib
parente876d1bfc014a51ce5e1178bc57529c37c517c45 (diff)
downloadredmine-7af8d7caf06416a1d9b94f061a6d0b28fc6bc2d9.tar.gz
redmine-7af8d7caf06416a1d9b94f061a6d0b28fc6bc2d9.zip
replace Mailer deliver syntax to Rails3 style
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9638 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/email.rake2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tasks/email.rake b/lib/tasks/email.rake
index 5e68080f9..2a8542ebe 100644
--- a/lib/tasks/email.rake
+++ b/lib/tasks/email.rake
@@ -177,7 +177,7 @@ END_DESC
ActionMailer::Base.raise_delivery_errors = true
begin
Mailer.with_synched_deliveries do
- Mailer.deliver_test_email(user)
+ Mailer.test_email(user).deliver
end
puts l(:notice_email_sent, user.mail)
rescue Exception => e