mirror of
https://github.com/redmine/redmine.git
synced 2025-12-15 21:10:27 +01:00
Patch by Yuichi HARADA. git-svn-id: http://svn.redmine.org/redmine/trunk@19998 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -73,7 +73,7 @@ module Redmine
|
||||
|
||||
def notified_watchers
|
||||
notified = watcher_users.active.to_a
|
||||
notified = notified.map {|n| n.is_a?(Group) ? n.users : n}.flatten
|
||||
notified = notified.map {|n| n.is_a?(Group) ? n.users.active : n}.flatten
|
||||
notified.uniq!
|
||||
notified.reject! {|user| user.mail.blank? || user.mail_notification == 'none'}
|
||||
if respond_to?(:visible?)
|
||||
|
||||
Reference in New Issue
Block a user