summaryrefslogtreecommitdiffstats
path: root/extensions/Profanivore
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-07-05 20:43:18 +0200
committerDylan William Hardison <dylan@hardison.net>2017-07-07 00:19:20 +0200
commit37722eca39874bb6abdcd120e3e458bd62dea62b (patch)
tree57a9a9970c00ec77baecab7e154ef7dfcef863fe /extensions/Profanivore
parenta6f98de0d4e842351222b0173a1fff151da8738e (diff)
downloadbugzilla-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.pm4
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