Bug 328638: Remove @::legal_keywords and %::keywordsbyname
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave git-svn-id: svn://10.0.0.236/trunk@192033 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user