From a2eca825a00b33912ec60f797d1112115772ec30 Mon Sep 17 00:00:00 2001 From: "mkanat%kerio.com" <> Date: Thu, 9 Mar 2006 08:08:57 +0000 Subject: Bug 328638: Remove @::legal_keywords and %::keywordsbyname Patch By Max Kanat-Alexander r=LpSolit, a=justdave --- query.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'query.cgi') diff --git a/query.cgi b/query.cgi index 33f2d19fa..9bb90e782 100755 --- a/query.cgi +++ b/query.cgi @@ -36,12 +36,12 @@ use Bugzilla::User; use Bugzilla::Util; use Bugzilla::Product; use Bugzilla::Version; +use Bugzilla::Keyword; use vars qw( @legal_resolution @legal_bug_status @legal_components - @legal_keywords @legal_opsys @legal_platform @legal_priority @@ -275,7 +275,7 @@ if (Param('usetargetmilestone')) { $vars->{'target_milestone'} = \@milestones; } -$vars->{'have_keywords'} = scalar(@::legal_keywords); +$vars->{'have_keywords'} = Bugzilla::Keyword::keyword_count(); push @::legal_resolution, "---"; # Oy, what a hack. shift @::legal_resolution; -- cgit v1.2.3-24-g4f1b