diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-11 18:13:32 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2007-09-11 18:13:32 +0000 |
commit | 29348fafb7ca43cb00ef80f29e61167647df0cd8 (patch) | |
tree | e156fcad93c8eee78a376df0784bfa26370b4fb8 /lib | |
parent | 74ed14f8a2fb93fc940b68ca76737686d1054d9b (diff) | |
download | redmine-29348fafb7ca43cb00ef80f29e61167647df0cd8.tar.gz redmine-29348fafb7ca43cb00ef80f29e61167647df0cd8.zip |
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
Diffstat (limited to 'lib')
-rw-r--r-- | lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb b/lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb index d62742cac..c789017e5 100644 --- a/lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb +++ b/lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb @@ -37,7 +37,7 @@ module Redmine end def watcher_recipients - self.watchers.collect { |w| w.user.mail if w.user.mail_notification }.compact + self.watchers.collect { |w| w.user.mail } end module ClassMethods |