summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Install/Filesystem.pm
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 /Bugzilla/Install/Filesystem.pm
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 'Bugzilla/Install/Filesystem.pm')
-rw-r--r--Bugzilla/Install/Filesystem.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/Bugzilla/Install/Filesystem.pm b/Bugzilla/Install/Filesystem.pm
index 9ba8fcd1b..02131531c 100644
--- a/Bugzilla/Install/Filesystem.pm
+++ b/Bugzilla/Install/Filesystem.pm
@@ -59,7 +59,7 @@ sub FILESYSTEM {
my $templatedir = bz_locations()->{'templatedir'};
my $libdir = bz_locations()->{'libpath'};
- my $ws_group = read_localconfig()->{'webservergroup'};
+ my $ws_group = Bugzilla->localconfig->{'webservergroup'};
# The set of permissions that we use:
@@ -494,7 +494,7 @@ sub fix_all_file_permissions {
my $owner_id = POSIX::getuid();
my $group_id = POSIX::getgid();
- my $ws_group = read_localconfig()->{'webservergroup'};
+ my $ws_group = Bugzilla->localconfig->{'webservergroup'};
if ($ws_group) {
my $ws_group_id = getgrnam($ws_group);
die "There is no such group: $ws_group. Check your \$webservergroup"