From 0fccdb26ae49bd8bb6022d48b769595e0a328278 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Tue, 19 Sep 2006 05:16:43 +0000 Subject: Bug 352235: Use Bugzilla->localconfig everywhere instead of :localconfig from Bugzilla::Config Patch By Max Kanat-Alexander r=LpSolit, a=myk --- testserver.pl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'testserver.pl') diff --git a/testserver.pl b/testserver.pl index bf818cd0f..9c12b9573 100755 --- a/testserver.pl +++ b/testserver.pl @@ -21,14 +21,8 @@ use strict; use lib "."; -BEGIN { - my $envpath = $ENV{'PATH'}; - require Bugzilla; - $ENV{'PATH'} = $envpath; -} - +use Bugzilla; use Bugzilla::Constants; -use Bugzilla::Config qw(:localconfig); use Socket; @@ -62,6 +56,7 @@ if ($^O !~ /MSWin32/i) { # Determine the numeric GID of $webservergroup my $webgroupnum = 0; +my $webservergroup = Bugzilla->localconfig->{webservergroup}; if ($webservergroup =~ /^(\d+)$/) { $webgroupnum = $1; } else { -- cgit v1.2.3-24-g4f1b