aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-10 08:30:39 +0000
committerlpsolit%gmail.com <>2005-08-10 08:30:39 +0000
commit8d06d1ef539f3f8becc56953b040bc710ec9a859 (patch)
treeec55649c78ed3ccfcb79257b3269d30c2703cb8d /chart.cgi
parentBug 303482: Change checksetup.pl to check for MIME::Parser instead of MIME::T... (diff)
downloadbugzilla-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-xchart.cgi9
1 files changed, 6 insertions, 3 deletions
diff --git a/chart.cgi b/chart.cgi
index bc25d52e9..31f961cac 100755
--- a/chart.cgi
+++ b/chart.cgi
@@ -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');