Closed
Bug 352235
Opened 19 years ago
Closed 19 years ago
Use Bugzilla->localconfig everywhere instead of :localconfig from Bugzilla::Config
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: mkanat, Assigned: mkanat)
References
Details
Attachments
(1 file)
|
11.15 KB,
patch
|
LpSolit
:
review+
|
Details | Diff | Splinter Review |
Basically it's what the summary says. I want to use Bugzilla->localconfig everywhere instead of importing the :localconfig vars from Bugzilla::Config. This shouldn't be too hard.
| Assignee | ||
Comment 1•19 years ago
|
||
Okay. I had to make a few modifications to Bugzilla::Install::Localconfig, because otherwise it was running the "_get_default" subroutines every time.
Comment 2•19 years ago
|
||
Comment on attachment 237848 [details] [diff] [review]
v1
seems to work like a charm. r=LpSolit
Attachment #237848 -
Flags: review?(LpSolit) → review+
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Flags: approval? → approval+
| Assignee | ||
Comment 3•19 years ago
|
||
Checking in testserver.pl;
/cvsroot/mozilla/webtools/bugzilla/testserver.pl,v <-- testserver.pl
new revision: 1.14; previous revision: 1.13
done
Checking in Bugzilla/Config.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Config.pm,v <-- Config.pm
new revision: 1.68; previous revision: 1.67
done
Checking in Bugzilla/DB.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/DB.pm,v <-- DB.pm
new revision: 1.88; previous revision: 1.87
done
Checking in Bugzilla/Attachment/PatchReader.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Attachment/PatchReader.pm,v <-- PatchReader.pm
new revision: 1.2; previous revision: 1.1
done
Checking in Bugzilla/Install/Localconfig.pm;
/cvsroot/mozilla/webtools/bugzilla/Bugzilla/Install/Localconfig.pm,v <-- Localconfig.pm
new revision: 1.6; previous revision: 1.5
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Comment 4•19 years ago
|
||
Comment on attachment 237848 [details] [diff] [review]
v1
>Index: testserver.pl
>-BEGIN {
>- my $envpath = $ENV{'PATH'};
>- require Bugzilla;
>- $ENV{'PATH'} = $envpath;
>-}
>-
>+use Bugzilla;
We should back out this change. testserver.pl is now broken:
TEST-WARNING Failed to find the GID for the 'httpd' process, unable
to validate webservergroup.
You need to log in
before you can comment on or make changes to this bug.
Description
•