summaryrefslogtreecommitdiffstats
path: root/email_in.pl
diff options
context:
space:
mode:
Diffstat (limited to 'email_in.pl')
-rwxr-xr-xemail_in.pl4
1 files changed, 0 insertions, 4 deletions
diff --git a/email_in.pl b/email_in.pl
index c34d2fc24..cb3c4883e 100755
--- a/email_in.pl
+++ b/email_in.pl
@@ -508,10 +508,6 @@ Bugzilla::Hook::process('email_in_after_parse', { fields => $mail_fields });
my $attachments = delete $mail_fields->{'attachments'};
my $username = $mail_fields->{'reporter'};
-# If emailsuffix is in use, we have to remove it from the email address.
-if (my $suffix = Bugzilla->params->{'emailsuffix'}) {
- $username =~ s/\Q$suffix\E$//i;
-}
my $user = Bugzilla::User->check($username);
Bugzilla->set_user($user);