diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-13 13:06:57 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-12-13 13:06:57 +0000 |
commit | 6610bb6b6cbb1ef72787542063359de04fbab6be (patch) | |
tree | deaea217c039928150c7aaeb683a58be8afb50ec /app/models | |
parent | f33231181f9591ee67577e229a8bf6de24516ba0 (diff) | |
download | redmine-6610bb6b6cbb1ef72787542063359de04fbab6be.tar.gz redmine-6610bb6b6cbb1ef72787542063359de04fbab6be.zip |
Moves watchers filtering logic to ActsAsWatchable.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3168 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models')
-rw-r--r-- | app/models/issue.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/app/models/issue.rb b/app/models/issue.rb index a550779cd..b9e046102 100644 --- a/app/models/issue.rb +++ b/app/models/issue.rb @@ -314,13 +314,6 @@ class Issue < ActiveRecord::Base notified.collect(&:mail) end - # Returns the mail adresses of watchers that should be notified - def watcher_recipients - notified = watcher_users - notified.reject! {|user| !user.active? || !visible?(user)} - notified.collect(&:mail) - end - # Returns the total number of hours spent on this issue. # # Example: |