diff options
author | lpsolit%gmail.com <> | 2005-08-10 08:30:39 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-10 08:30:39 +0000 |
commit | 8d06d1ef539f3f8becc56953b040bc710ec9a859 (patch) | |
tree | ec55649c78ed3ccfcb79257b3269d30c2703cb8d /chart.cgi | |
parent | Bug 303482: Change checksetup.pl to check for MIME::Parser instead of MIME::T... (diff) | |
download | bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.gz bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.bz2 bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.zip |
Bug 301508: Remove CGI.pl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=mkanat,wicked a=justdave
Diffstat (limited to 'chart.cgi')
-rwxr-xr-x | chart.cgi | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -44,13 +44,17 @@ use strict; use lib qw(.); -require "CGI.pl"; +require "globals.pl"; +use Bugzilla; use Bugzilla::Constants; use Bugzilla::Chart; use Bugzilla::Series; use Bugzilla::User; -use vars qw($cgi $template $vars); +use vars qw($vars); + +my $cgi = Bugzilla->cgi; +my $template = Bugzilla->template; # Go back to query.cgi if we are adding a boolean chart parameter. if (grep(/^cmd-/, $cgi->param())) { @@ -60,7 +64,6 @@ if (grep(/^cmd-/, $cgi->param())) { exit; } -my $template = Bugzilla->template; my $action = $cgi->param('action'); my $series_id = $cgi->param('series_id'); |