From 9d96ac724457e849dcc01c9fb1b87128a6b75e05 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Mon, 4 Sep 2006 02:18:53 +0000 Subject: Bug 347096: Create Bugzilla->localconfig and replace most read_localconfig calls with it Patch By Max Kanat-Alexander r=LpSolit, a=myk --- checksetup.pl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'checksetup.pl') 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 -- cgit v1.2.3-24-g4f1b