summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/models/mailer.rb3
1 files changed, 2 insertions, 1 deletions
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)