From c41117346f48774e5c6731303702b5ce98db517b Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 21 Jun 2006 07:44:46 +0000 Subject: =?UTF-8?q?Bug=20282121:=20Remove=20globals.pl=20from=20scripts=20?= =?UTF-8?q?that=20no=20longer=20use=20it=20-=20Patch=20by=20Fr=C3=A9d?= =?UTF-8?q?=C3=A9ric=20Buclin=20=20r=3Dmkanat=20a=3Dmyk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- token.cgi | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'token.cgi') diff --git a/token.cgi b/token.cgi index 061dc1e95..dcde8c108 100755 --- a/token.cgi +++ b/token.cgi @@ -32,23 +32,17 @@ use lib qw(.); use Bugzilla; use Bugzilla::Constants; use Bugzilla::Util; +use Bugzilla::Error; +use Bugzilla::Token; +use Bugzilla::User; my $cgi = Bugzilla->cgi; my $dbh = Bugzilla->dbh; my $template = Bugzilla->template; my $vars = {}; -# Include the Bugzilla CGI and general utility library. -require "globals.pl"; - Bugzilla->login(LOGIN_OPTIONAL); -# Use the "Bugzilla::Token" module that contains functions for doing various -# token-related tasks. -use Bugzilla::Token; - -use Bugzilla::User; - ################################################################################ # Data Validation / Security Authorization ################################################################################ -- cgit v1.2.1