diff --git a/app/models/wiki_content.rb b/app/models/wiki_content.rb index 7ed19f234..415ba9aca 100644 --- a/app/models/wiki_content.rb +++ b/app/models/wiki_content.rb @@ -40,7 +40,7 @@ class WikiContent < ActiveRecord::Base page.nil? ? [] : page.attachments end - # Returns the mail adresses of users that should be notified + # Returns the mail addresses of users that should be notified def recipients notified = project.notified_users notified.reject! {|user| !visible?(user)}