diff options
author | bbaetz%student.usyd.edu.au <> | 2002-12-20 16:21:24 +0100 |
---|---|---|
committer | bbaetz%student.usyd.edu.au <> | 2002-12-20 16:21:24 +0100 |
commit | a40d927bfd9a9b3012be9e0f85da84aa4dd58344 (patch) | |
tree | f93d920e99a9739e831f24d94a3ab10127ecd952 /CGI.pl | |
parent | 1a3c26e61fa709824d63fce85c41d89bd90774fd (diff) | |
download | bugzilla-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.pl | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |