summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorterry%netscape.com <>1998-12-04 01:10:51 +0100
committerterry%netscape.com <>1998-12-04 01:10:51 +0100
commit3a14063761783372a378677b9901ec683d691294 (patch)
treed2265af7643087e1aaa5281b0749990e9e9eab43 /globals.pl
parent063b0985a9417a2e1252552cde3124b3b3a7e289 (diff)
downloadbugzilla-3a14063761783372a378677b9901ec683d691294.tar.gz
bugzilla-3a14063761783372a378677b9901ec683d691294.tar.xz
Reworked the rep_platform and op_sys fields. BEWARE; this includes
some changes to the database schema!
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl7
1 files changed, 2 insertions, 5 deletions
diff --git a/globals.pl b/globals.pl
index 4c5975055..3c8bf252a 100644
--- a/globals.pl
+++ b/globals.pl
@@ -71,10 +71,6 @@ sub FetchOneColumn {
}
-@::legal_opsys = ("Windows 3.1", "Windows 95", "Windows NT", "System 7",
- "System 7.5", "7.1.6", "AIX", "BSDI", "HP-UX", "IRIX",
- "Linux", "OSF/1", "Solaris", "SunOS", "other");
-
@::default_column_list = ("severity", "priority", "platform", "owner",
"status", "resolution", "summary");
@@ -255,6 +251,7 @@ sub GenerateVersionTable {
@::legal_priority = SplitEnumType($cols->{"priority,type"});
@::legal_severity = SplitEnumType($cols->{"bug_severity,type"});
@::legal_platform = SplitEnumType($cols->{"rep_platform,type"});
+ @::legal_opsys = SplitEnumType($cols->{"op_sys,type"});
@::legal_bug_status = SplitEnumType($cols->{"bug_status,type"});
@::legal_resolution = SplitEnumType($cols->{"resolution,type"});
@::legal_resolution_no_dup = @::legal_resolution;
@@ -283,7 +280,7 @@ sub GenerateVersionTable {
print FID GenerateCode('%::components');
@::legal_components = sort {uc($a) cmp uc($b)} keys(%carray);
print FID GenerateCode('@::legal_components');
- foreach my $i('product', 'priority', 'severity', 'platform',
+ foreach my $i('product', 'priority', 'severity', 'platform', 'opsys',
'bug_status', 'resolution', 'resolution_no_dup') {
print FID GenerateCode('@::legal_' . $i);
}