Fixed: watchers should be notified even if they uncheck 'mail notifications'
git-svn-id: http://redmine.rubyforge.org/svn/trunk@724 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
74ed14f8a2
commit
29348fafb7
|
@ -37,7 +37,7 @@ module Redmine
|
||||||
end
|
end
|
||||||
|
|
||||||
def watcher_recipients
|
def watcher_recipients
|
||||||
self.watchers.collect { |w| w.user.mail if w.user.mail_notification }.compact
|
self.watchers.collect { |w| w.user.mail }
|
||||||
end
|
end
|
||||||
|
|
||||||
module ClassMethods
|
module ClassMethods
|
||||||
|
|
Loading…
Reference in New Issue