diff options
author | 2006-02-22 01:24:32 +0000 | |
---|---|---|
committer | 2006-02-22 01:24:32 +0000 | |
commit | 22c141030bfd6a3a5e911cad72bed53f6553c8af (patch) | |
tree | 4f13739cbfb5d28bd3cf3ab1637e66c5c68bd140 /globals.pl | |
parent | Bug 219555: 'Format for Printing' page is a mess - Patch by Olav Vitters <bug... (diff) | |
download | bugzilla-22c141030bfd6a3a5e911cad72bed53f6553c8af.tar.gz bugzilla-22c141030bfd6a3a5e911cad72bed53f6553c8af.tar.bz2 bugzilla-22c141030bfd6a3a5e911cad72bed53f6553c8af.zip |
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.pl | 10 |
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'])); |