mirror of
https://github.com/redmine/redmine.git
synced 2024-08-03 08:17:45 +02:00
Do not send reminders to locked users (#5773).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5225 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
ca5951b4f6
commit
a2baf9f695
@ -344,7 +344,7 @@ class Mailer < ActionMailer::Base
|
||||
:conditions => s.conditions
|
||||
).group_by(&:assigned_to)
|
||||
issues_by_assignee.each do |assignee, issues|
|
||||
deliver_reminder(assignee, issues, days) unless assignee.nil?
|
||||
deliver_reminder(assignee, issues, days) if assignee && assignee.active?
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user