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