summaryrefslogtreecommitdiffstats
path: root/globals.pl
diff options
context:
space:
mode:
authormkanat%kerio.com <>2005-10-12 07:13:06 +0200
committermkanat%kerio.com <>2005-10-12 07:13:06 +0200
commit429de3bad99ca5506bec6d31d999fc08c5e57f43 (patch)
tree4488bff0f1ae710c298ee99d6b07dc72515ee912 /globals.pl
parentb02a866fd95bf2fa9b162ca41b0a97382ad32906 (diff)
downloadbugzilla-429de3bad99ca5506bec6d31d999fc08c5e57f43.tar.gz
bugzilla-429de3bad99ca5506bec6d31d999fc08c5e57f43.tar.xz
Bug 282090: Eliminate %classdesc in favor of Bugzilla::Classification methods
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=wicked, a=justdave
Diffstat (limited to 'globals.pl')
-rw-r--r--globals.pl11
1 files changed, 2 insertions, 9 deletions
diff --git a/globals.pl b/globals.pl
index ac502f39a..4d21b088b 100644
--- a/globals.pl
+++ b/globals.pl
@@ -58,7 +58,6 @@ sub globals_pl_sillyness {
$zz = @main::legal_versions;
$zz = @main::milestoneurl;
$zz = %main::proddesc;
- $zz = %main::classdesc;
$zz = @main::prodmaxvotes;
$zz = $main::template;
$zz = $main::userid;
@@ -162,12 +161,6 @@ sub GenerateVersionTable {
my $mpart = $dotargetmilestone ? ", milestoneurl" : "";
- SendSQL("SELECT name, description FROM classifications ORDER BY name");
- while (@line = FetchSQLData()) {
- my ($n, $d) = (@line);
- $::classdesc{$n} = $d;
- }
-
SendSQL("SELECT name, description, votesperuser, disallownew$mpart " .
"FROM products ORDER BY name");
while (@line = FetchSQLData()) {
@@ -252,10 +245,10 @@ sub GenerateVersionTable {
'*::legal_bug_status', '*::legal_resolution']));
print $fh (Data::Dumper->Dump([\@::settable_resolution, \%::proddesc,
- \%::classifications, \%::classdesc,
+ \%::classifications,
\@::enterable_products, \%::prodmaxvotes],
['*::settable_resolution', '*::proddesc',
- '*::classifications', '*::classdesc',
+ '*::classifications',
'*::enterable_products', '*::prodmaxvotes']));
if ($dotargetmilestone) {