From f2f708f6985dd3a7c51869c0dda5791ca239d248 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Mon, 21 May 2018 20:34:29 -0400 Subject: good stuff --- Bugzilla/CGI.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Bugzilla/CGI.pm') diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm index 8fae0c424..99957c59c 100644 --- a/Bugzilla/CGI.pm +++ b/Bugzilla/CGI.pm @@ -712,17 +712,7 @@ sub send_cookie { sub redirect { my $self = shift; $self->{bz_redirecting} = 1; - use Carp; - carp "redirect @_\n"; - if ($self->server_software eq 'Bugzilla::Quantum::CGI') { - my $c = $Bugzilla::C; - $self->SUPER::redirect(@_); - $c->redirect_to($c->res->headers->location); - return ''; - } - else { - return $self->SUPER::redirect(@_); - } + return $self->SUPER::redirect(@_); } # This helps implement Bugzilla::Search::Recent, and also shortens search -- cgit v1.2.3-24-g4f1b