diff options
author | wurblzap%gmail.com <> | 2007-08-22 03:47:51 +0200 |
---|---|---|
committer | wurblzap%gmail.com <> | 2007-08-22 03:47:51 +0200 |
commit | c56f5e3c03177edf52172c8a164f66c354d0e147 (patch) | |
tree | caef8b053a3031404d31d7c1d9dca2b202e44e70 /Bugzilla/Install.pm | |
parent | 5a1fdacb12095b417382c15186e5aaaec7eed3a1 (diff) | |
download | bugzilla-c56f5e3c03177edf52172c8a164f66c354d0e147.tar.gz bugzilla-c56f5e3c03177edf52172c8a164f66c354d0e147.tar.xz |
Bug 365378 â The 'languages' parameter is not necessary.
Patch by Marc Schumann <wurblzap@gmail.com>;
r=LpSolit; a=LpSolit
Diffstat (limited to 'Bugzilla/Install.pm')
-rw-r--r-- | Bugzilla/Install.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Bugzilla/Install.pm b/Bugzilla/Install.pm index 7e3a97b7d..f251e4d1c 100644 --- a/Bugzilla/Install.pm +++ b/Bugzilla/Install.pm @@ -36,7 +36,6 @@ use Bugzilla::Util qw(get_text); use Bugzilla::Version; sub SETTINGS { - my @languages = split(/[\s,]+/, Bugzilla->params->{'languages'}); return { # 2005-03-03 travis@sedsystems.ca -- Bug 41972 display_quips => { options => ["on", "off"], default => "on" }, @@ -59,10 +58,11 @@ sub SETTINGS { # 2006-08-04 wurblzap@gmail.com -- Bug 322693 skin => { subclass => 'Skin', default => 'Dusk' }, # 2006-12-10 LpSolit@gmail.com -- Bug 297186 - lang => { options => \@languages, - default => $languages[0] }, + lang => { subclass => 'Lang', + default => ${Bugzilla->languages}[0] }, # 2007-07-02 altlist@gmail.com -- Bug 225731 - quote_replies => { options => ['quoted_reply', 'simple_reply', 'off'], default => "quoted_reply" } + quote_replies => { options => ['quoted_reply', 'simple_reply', 'off'], + default => "quoted_reply" } } }; |