Patch #5415 ยป watcher_recipients.diff
| /Volumes/Finn/cockpit/redmine-trunk/vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb (working copy) | ||
|---|---|---|
| 57 | 57 |
|
| 58 | 58 |
# Returns an array of watchers' email addresses |
| 59 | 59 |
def watcher_recipients |
| 60 |
notified = watchers.collect(&:user).select(&:active?)
|
|
| 60 |
notified = watcher_users.active
|
|
| 61 | 61 |
if respond_to?(:visible?) |
| 62 | 62 |
notified.reject! {|user| !visible?(user)}
|
| 63 | 63 |
end |