From c41117346f48774e5c6731303702b5ce98db517b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 21 Jun 2006 07:44:46 +0000 Subject: Bug 282121: Remove globals.pl from scripts that no longer use it - Patch by Frédéric Buclin r=mkanat a=myk MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- buglist.cgi | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'buglist.cgi') diff --git a/buglist.cgi b/buglist.cgi index 5d56c2255..cb9dba663 100755 --- a/buglist.cgi +++ b/buglist.cgi @@ -35,9 +35,12 @@ use strict; use lib qw(.); use Bugzilla; +use Bugzilla::Constants; +use Bugzilla::Error; +use Bugzilla::Util; +use Bugzilla::Config qw(:DEFAULT); use Bugzilla::Search; use Bugzilla::Search::Quicksearch; -use Bugzilla::Constants; use Bugzilla::User; use Bugzilla::Bug; use Bugzilla::Product; @@ -46,9 +49,6 @@ use Bugzilla::Field; use Date::Parse; -# Include the Bugzilla CGI and general utility library. -require "globals.pl"; - my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; @@ -894,7 +894,7 @@ if ($serverpush) { # query performance. $dbh = Bugzilla->switch_to_shadow_db(); -# Normally, we ignore SIGTERM and SIGPIPE (see globals.pl) but we need to +# Normally, we ignore SIGTERM and SIGPIPE, but we need to # respond to them here to prevent someone DOSing us by reloading a query # a large number of times. $::SIG{TERM} = 'DEFAULT'; -- cgit v1.2.3-24-g4f1b