From 3891b63a1eb52076337885487f251a10580a4a85 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 27 Apr 2016 18:50:13 +0200 Subject: Bug 218917 - Allow the login name to be different from the email address Original patch by Gervase Markham r=gerv a=dkl --- email_in.pl | 4 ---- 1 file changed, 4 deletions(-) (limited to 'email_in.pl') 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); -- cgit v1.2.3-24-g4f1b