diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-17 19:58:03 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-01-17 19:58:03 +0000 |
commit | 3e031b4243b38c3739936ae143acf21d305cd570 (patch) | |
tree | d21badaf055782bef08928b6ae8e62dfe3bcd951 /vendor | |
parent | 32b9bf0ef265355cdb4e10559cfce250af03a30f (diff) | |
download | redmine-3e031b4243b38c3739936ae143acf21d305cd570.tar.gz redmine-3e031b4243b38c3739936ae143acf21d305cd570.zip |
Fixed: locked users should not receive email notifications.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1075 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'vendor')
-rw-r--r-- | vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb b/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb index c789017e5..53e4455cf 100644 --- a/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb +++ b/vendor/plugins/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 } + self.watchers.collect { |w| w.user.mail if w.user.active? }.compact end module ClassMethods |