From 804864beca1cd7cd4c507e0d8973cd02a94dfeee Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Wed, 9 May 2012 15:14:30 +0000 Subject: [PATCH] replace Mailer deliver syntax to Rails3 style at reminders method of mailer model git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9662 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mailer.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 952c1caf7..698a73f9e 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -344,7 +344,7 @@ class Mailer < ActionMailer::Base issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to) issues_by_assignee.each do |assignee, issues| - deliver_reminder(assignee, issues, days) if assignee.is_a?(User) && assignee.active? + reminder(assignee, issues, days).deliver if assignee.is_a?(User) && assignee.active? end end -- 2.39.5