diff options
author | Dylan William Hardison <dylan@hardison.net> | 2017-07-05 20:43:18 +0200 |
---|---|---|
committer | Dylan William Hardison <dylan@hardison.net> | 2017-07-07 00:19:20 +0200 |
commit | 37722eca39874bb6abdcd120e3e458bd62dea62b (patch) | |
tree | 57a9a9970c00ec77baecab7e154ef7dfcef863fe /extensions/Profanivore | |
parent | a6f98de0d4e842351222b0173a1fff151da8738e (diff) | |
download | bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.gz bugzilla-37722eca39874bb6abdcd120e3e458bd62dea62b.tar.xz |
Bug 1377933 - Remove trailing whitespace from all perl files
Diffstat (limited to 'extensions/Profanivore')
-rw-r--r-- | extensions/Profanivore/Extension.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/Profanivore/Extension.pm b/extensions/Profanivore/Extension.pm index 9584ee695..013f92fee 100644 --- a/extensions/Profanivore/Extension.pm +++ b/extensions/Profanivore/Extension.pm @@ -45,7 +45,7 @@ sub bug_format_comment { # it tries to stop an arms race starting.) if ($comment && !$comment->author->in_group('editbugs') && - $comment->author->id != Bugzilla->user->id) + $comment->author->id != Bugzilla->user->id) { push (@$regexes, { match => RE_profanity('-i'), @@ -76,7 +76,7 @@ sub mailer_before_send { $author = new Bugzilla::User({ name => $author }); if ($author && - $author->id && + $author->id && !$author->in_group('editbugs')) { # Multipart emails |