OSDN Git Service
(root)
/
redminele
/
redmine.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ca5951b
)
Do not send reminders to locked users (#5773).
author
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 27 Mar 2011 15:12:38 +0000
(15:12 +0000)
committer
Jean-Philippe Lang
<jp_lang@yahoo.fr>
Sun, 27 Mar 2011 15:12:38 +0000
(15:12 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5225
e93f8b46
-1217-0410-a6f0-
8f06a7374b81
app/models/mailer.rb
patch
|
blob
|
history
diff --git
a/app/models/mailer.rb
b/app/models/mailer.rb
index
3249a6a
..
7efa7c9
100644
(file)
--- a/
app/models/mailer.rb
+++ b/
app/models/mailer.rb
@@
-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