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