Project

General

Profile

Patch #5415 ยป watcher_recipients.diff

Holger Just, 2010-04-30 14:31

View differences:

/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
    (1-1/1)