summaryrefslogtreecommitdiffstats
path: root/Bugzilla
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla')
-rw-r--r--Bugzilla/Config.pm13
1 files changed, 13 insertions, 0 deletions
diff --git a/Bugzilla/Config.pm b/Bugzilla/Config.pm
index 71bac4225..fa6fc3147 100644
--- a/Bugzilla/Config.pm
+++ b/Bugzilla/Config.pm
@@ -197,6 +197,19 @@ sub UpdateParams {
# We don't want it, so get rid of it
delete $param{'version'};
+ # Change from usebrowserinfo to defaultplatform/defaultopsys combo
+ if (exists $param{'usebrowserinfo'}) {
+ if (!$param{'usebrowserinfo'}) {
+ if (!exists $param{'defaultplatform'}) {
+ $param{'defaultplatform'} = 'Other';
+ }
+ if (!exists $param{'defaultopsys'}) {
+ $param{'defaultopsys'} = 'other';
+ }
+ }
+ delete $param{'usebrowserinfo'};
+ }
+
# Change from a boolean for quips to multi-state
if (exists $param{'usequip'} && !exists $param{'enablequips'}) {
$param{'enablequips'} = $param{'usequip'} ? 'on' : 'off';