]> source.dussan.org Git - redmine.git/commitdiff
Fixed: watchers should be notified even if they uncheck 'mail notifications'
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 11 Sep 2007 18:13:32 +0000 (18:13 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 11 Sep 2007 18:13:32 +0000 (18:13 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@724 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/acts_as_watchable/lib/acts_as_watchable.rb

index d62742cacba08ad2fdf3a0b28fa64f196cd2ac2a..c789017e502f893a0adc84556ab45709566dd0bc 100644 (file)
@@ -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