From e1ca4a8663eb85151473d815d5afd84cb9c50c73 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 6 Jul 2013 00:04:47 +0000 Subject: [PATCH] gender neutral source comment at app/models/mailer.rb git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11988 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/models/mailer.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/mailer.rb b/app/models/mailer.rb index 60d6b206b..5c773c5f1 100644 --- a/app/models/mailer.rb +++ b/app/models/mailer.rb @@ -389,7 +389,8 @@ class Mailer < ActionMailer::Base 'List-Id' => "<#{Setting.mail_from.to_s.gsub('@', '.')}>" # Removes the author from the recipients and cc - # if he doesn't want to receive notifications about what he does + # if the author does not want to receive notifications + # about what the author do if @author && @author.logged? && @author.pref.no_self_notified headers[:to].delete(@author.mail) if headers[:to].is_a?(Array) headers[:cc].delete(@author.mail) if headers[:cc].is_a?(Array) -- 2.39.5