summaryrefslogtreecommitdiffstats
path: root/CGI.pl
diff options
context:
space:
mode:
authorbbaetz%student.usyd.edu.au <>2002-12-20 16:21:24 +0100
committerbbaetz%student.usyd.edu.au <>2002-12-20 16:21:24 +0100
commita40d927bfd9a9b3012be9e0f85da84aa4dd58344 (patch)
treef93d920e99a9739e831f24d94a3ab10127ecd952 /CGI.pl
parent1a3c26e61fa709824d63fce85c41d89bd90774fd (diff)
downloadbugzilla-a40d927bfd9a9b3012be9e0f85da84aa4dd58344.tar.gz
bugzilla-a40d927bfd9a9b3012be9e0f85da84aa4dd58344.tar.xz
Bug 173622 - Move template handling into a module. r=justdave, joel, a=justdave
Diffstat (limited to 'CGI.pl')
-rw-r--r--CGI.pl8
1 files changed, 3 insertions, 5 deletions
diff --git a/CGI.pl b/CGI.pl
index c8da97174..6b9751df6 100644
--- a/CGI.pl
+++ b/CGI.pl
@@ -893,12 +893,10 @@ sub GetBugActivity {
############# Live code below here (that is, not subroutine defs) #############
-use Bugzilla::CGI();
+use Bugzilla;
-# XXX - mod_perl, this needs to move into all the scripts individually
-# Once we do that, look into setting DISABLE_UPLOADS, and overriding
-# on a per-script basis
-$::cgi = new Bugzilla::CGI();
+# XXX - mod_perl - reset this between runs
+$::cgi = Bugzilla->instance->cgi;
# Set up stuff for compatibility with the old CGI.pl code
# This code will be removed as soon as possible, in favour of