summaryrefslogtreecommitdiffstats
path: root/checksetup.pl
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2006-09-04 04:18:53 +0200
committermkanat%bugzilla.org <>2006-09-04 04:18:53 +0200
commit9d96ac724457e849dcc01c9fb1b87128a6b75e05 (patch)
tree8f61489bbb03a20d296aed563e2cdaca281d1d5e /checksetup.pl
parent788beb08c05baf7aeb2556fe1355fe15a21e3f8f (diff)
downloadbugzilla-9d96ac724457e849dcc01c9fb1b87128a6b75e05.tar.gz
bugzilla-9d96ac724457e849dcc01c9fb1b87128a6b75e05.tar.xz
Bug 347096: Create Bugzilla->localconfig and replace most read_localconfig calls with it
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=myk
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-xchecksetup.pl8
1 files changed, 2 insertions, 6 deletions
diff --git a/checksetup.pl b/checksetup.pl
index 7f3c6783f..27ee5d6ea 100755
--- a/checksetup.pl
+++ b/checksetup.pl
@@ -331,7 +331,7 @@ require Bugzilla::Bug;
import Bugzilla::Bug qw(is_open_state);
require Bugzilla::Install::Localconfig;
-import Bugzilla::Install::Localconfig qw(read_localconfig update_localconfig);
+import Bugzilla::Install::Localconfig qw(update_localconfig);
require Bugzilla::Install::Filesystem;
import Bugzilla::Install::Filesystem qw(update_filesystem create_htaccess
@@ -349,11 +349,7 @@ require Bugzilla::Install;
print "Reading " . bz_locations()->{'localconfig'} . "...\n" unless $silent;
update_localconfig({ output => !$silent, answer => \%answer });
-my $lc_hash = read_localconfig();
-
-# XXX Eventually this variable can be eliminated, but it is
-# used more than once throughout checksetup right now.
-my $my_webservergroup = $lc_hash->{'webservergroup'};
+my $lc_hash = Bugzilla->localconfig;
###########################################################################
# Check --DATABASE-- setup