##// END OF EJS Templates
replace Mailer deliver syntax to Rails3 style at reminders method of mailer model...
Toshi MARUYAMA -
r9479:804864beca1c
parent child
Show More
@@ -344,7 +344,7 class Mailer < ActionMailer::Base
344
344
345 issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to)
345 issues_by_assignee = scope.all(:include => [:status, :assigned_to, :project, :tracker]).group_by(&:assigned_to)
346 issues_by_assignee.each do |assignee, issues|
346 issues_by_assignee.each do |assignee, issues|
347 deliver_reminder(assignee, issues, days) if assignee.is_a?(User) && assignee.active?
347 reminder(assignee, issues, days).deliver if assignee.is_a?(User) && assignee.active?
348 end
348 end
349 end
349 end
350
350
General Comments 0
You need to be logged in to leave comments. Login now