diff options
author | mkanat%bugzilla.org <> | 2006-09-19 05:16:43 +0000 |
---|---|---|
committer | mkanat%bugzilla.org <> | 2006-09-19 05:16:43 +0000 |
commit | 0fccdb26ae49bd8bb6022d48b769595e0a328278 (patch) | |
tree | 90785472439295e8900fd46ea6a7519359d954ac /testserver.pl | |
parent | Bug 333040: Cannot search based on "Attachment Creator" - Patch by Frédéric... (diff) | |
download | bugzilla-0fccdb26ae49bd8bb6022d48b769595e0a328278.tar.gz bugzilla-0fccdb26ae49bd8bb6022d48b769595e0a328278.tar.bz2 bugzilla-0fccdb26ae49bd8bb6022d48b769595e0a328278.zip |
Bug 352235: Use Bugzilla->localconfig everywhere instead of :localconfig from Bugzilla::Config
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'testserver.pl')
-rwxr-xr-x | testserver.pl | 9 |
1 files changed, 2 insertions, 7 deletions
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 { |