From 2a6f7d4663dfc5cb00c1bb8b8d8139869a22d461 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Mon, 12 Nov 2012 18:46:48 +0100 Subject: Bug 676844: Replace ThrowCodeError() by ThrowUserError() when the error is not triggered by the code itself r=glob a=LpSolit --- post_bug.cgi | 2 -- 1 file changed, 2 deletions(-) (limited to 'post_bug.cgi') diff --git a/post_bug.cgi b/post_bug.cgi index b38707365..24fa331b4 100755 --- a/post_bug.cgi +++ b/post_bug.cgi @@ -199,8 +199,6 @@ $vars->{'bug'} = $bug; Bugzilla::Hook::process('post_bug_after_creation', { vars => $vars }); -ThrowCodeError("bug_error", { bug => $bug }) if $bug->error; - my $recipients = { changer => $user }; my $bug_sent = Bugzilla::BugMail::Send($id, $recipients); $bug_sent->{type} = 'created'; -- cgit v1.2.3-24-g4f1b