diff options
author | lpsolit%gmail.com <> | 2005-08-10 10:30:39 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-10 10:30:39 +0200 |
commit | 8d06d1ef539f3f8becc56953b040bc710ec9a859 (patch) | |
tree | ec55649c78ed3ccfcb79257b3269d30c2703cb8d /chart.cgi | |
parent | 67b67a2e824b5120c3d8d06948927b5372ea98a6 (diff) | |
download | bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.gz bugzilla-8d06d1ef539f3f8becc56953b040bc710ec9a859.tar.xz |
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'); |