summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r--Bugzilla/CGI.pm12
1 files changed, 1 insertions, 11 deletions
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