summaryrefslogtreecommitdiffstats
path: root/Bugzilla.pm
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2018-05-22 02:34:29 +0200
committerDylan William Hardison <dylan@hardison.net>2018-06-28 22:41:57 +0200
commitf2f708f6985dd3a7c51869c0dda5791ca239d248 (patch)
tree8750204ea248d89cc004bf74aa0b27e5d6d4e281 /Bugzilla.pm
parent9c83baadd88c0605dcf663e6a8782ffb5867298d (diff)
downloadbugzilla-f2f708f6985dd3a7c51869c0dda5791ca239d248.tar.gz
bugzilla-f2f708f6985dd3a7c51869c0dda5791ca239d248.tar.xz
good stuff
Diffstat (limited to 'Bugzilla.pm')
-rw-r--r--Bugzilla.pm13
1 files changed, 1 insertions, 12 deletions
diff --git a/Bugzilla.pm b/Bugzilla.pm
index c12e24e42..858fa6f44 100644
--- a/Bugzilla.pm
+++ b/Bugzilla.pm
@@ -197,18 +197,7 @@ sub template {
request_cache->{template} //= Bugzilla::Template->create();
request_cache->{template}->{_is_main} = 1;
- if (Bugzilla->cgi->server_software eq 'Bugzilla::Quantum::CGI') {
- return request_cache->{quantum_template} //= do {
- my $template = request_cache->{template};
- my $c = $Bugzilla::C;
- my $q_template = Bugzilla::Quantum::Template->new( controller => $c, template => $template );
- $q_template->{_is_main} = 1;
- $q_template;
- };
- }
- else {
- return request_cache->{template};
- }
+ return request_cache->{template};
}
sub template_inner {