summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-21 20:14:53 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:56 +0200
commit3d8dc32afa0131e2ac0cd121b492aed8ad59fc11 (patch)
tree2d3489acbaa726ff7daaee0758c2bbd50c8fe13a /Bugzilla/CGI.pm
parent15661bf793105352c3cf0d84d6c7e790be838a78 (diff)
downloadbugzilla-3d8dc32afa0131e2ac0cd121b492aed8ad59fc11.tar.gz
bugzilla-3d8dc32afa0131e2ac0cd121b492aed8ad59fc11.tar.xz
working more
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r--Bugzilla/CGI.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index 495cb4769..1e070290e 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -600,7 +600,7 @@ sub header {
}
}
my $headers = $self->SUPER::header(%headers) || '';
- if ($self->server_software eq 'Bugzilla::Quantum::Plugin::Glue') {
+ if ($self->server_software eq 'Bugzilla::Quantum::CGI') {
my $c = Bugzilla->request_cache->{mojo_controller};
$c->res->headers->parse($headers);
return '';
@@ -711,7 +711,7 @@ sub redirect {
$self->{bz_redirecting} = 1;
use Carp;
carp "redirect @_\n";
- if ($self->server_software eq 'Bugzilla::Quantum::Plugin::Glue') {
+ if ($self->server_software eq 'Bugzilla::Quantum::CGI') {
my $c = Bugzilla->request_cache->{mojo_controller};
$self->SUPER::redirect(@_);
$c->redirect_to($c->res->headers->location);