summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-02-22 02:24:32 +0100
committerlpsolit%gmail.com <>2006-02-22 02:24:32 +0100
commit22c141030bfd6a3a5e911cad72bed53f6553c8af (patch)
tree4f13739cbfb5d28bd3cf3ab1637e66c5c68bd140 /globals.pl
parent286c0ad1454c120b61e1d162b236f6fb27b77e46 (diff)
downloadbugzilla-22c141030bfd6a3a5e911cad72bed53f6553c8af.tar.gz
bugzilla-22c141030bfd6a3a5e911cad72bed53f6553c8af.tar.xz
Bug 311278: Eliminate %::proddesc - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl10
1 files changed, 4 insertions, 6 deletions
diff --git a/globals.pl b/globals.pl
index 6240b9737..68299378b 100644
--- a/globals.pl
+++ b/globals.pl
@@ -57,7 +57,6 @@ sub globals_pl_sillyness {
$zz = @main::legal_target_milestone;
$zz = @main::legal_versions;
$zz = @main::milestoneurl;
- $zz = %main::proddesc;
$zz = @main::prodmaxvotes;
}
@@ -158,11 +157,10 @@ sub GenerateVersionTable {
my $mpart = $dotargetmilestone ? ", milestoneurl" : "";
- SendSQL("SELECT name, description, votesperuser, disallownew$mpart " .
+ SendSQL("SELECT name, votesperuser, disallownew$mpart " .
"FROM products ORDER BY name");
while (@line = FetchSQLData()) {
- my ($p, $d, $votesperuser, $dis, $u) = (@line);
- $::proddesc{$p} = $d;
+ my ($p, $votesperuser, $dis, $u) = (@line);
if (!$dis && scalar($::components{$p})) {
push @::enterable_products, $p;
}
@@ -241,10 +239,10 @@ sub GenerateVersionTable {
'*::legal_platform', '*::legal_opsys',
'*::legal_bug_status', '*::legal_resolution']));
- print $fh (Data::Dumper->Dump([\@::settable_resolution, \%::proddesc,
+ print $fh (Data::Dumper->Dump([\@::settable_resolution,
\%::classifications,
\@::enterable_products, \%::prodmaxvotes],
- ['*::settable_resolution', '*::proddesc',
+ ['*::settable_resolution',
'*::classifications',
'*::enterable_products', '*::prodmaxvotes']));