aboutsummaryrefslogtreecommitdiffstats
path: root/config.cgi
diff options
context:
space:
mode:
authormkanat%kerio.com <>2006-03-09 08:08:57 +0000
committermkanat%kerio.com <>2006-03-09 08:08:57 +0000
commita2eca825a00b33912ec60f797d1112115772ec30 (patch)
treeda4d1e84679afe825f8eb0ef4b1da7d5bc463d67 /config.cgi
parentefacaaf6ee6b79fca5f256bc29c338b9e51e8c5d (diff)
downloadbugs-a2eca825a00b33912ec60f797d1112115772ec30.tar
bugs-a2eca825a00b33912ec60f797d1112115772ec30.tar.gz
bugs-a2eca825a00b33912ec60f797d1112115772ec30.tar.bz2
bugs-a2eca825a00b33912ec60f797d1112115772ec30.tar.xz
bugs-a2eca825a00b33912ec60f797d1112115772ec30.zip
Bug 328638: Remove @::legal_keywords and %::keywordsbyname
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'config.cgi')
-rwxr-xr-xconfig.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/config.cgi b/config.cgi
index 371383e1c..f3471e14f 100755
--- a/config.cgi
+++ b/config.cgi
@@ -33,6 +33,7 @@ use lib qw(.);
require "globals.pl";
use Bugzilla;
use Bugzilla::Constants;
+use Bugzilla::Keyword;
use Bugzilla::Bug;
# Suppress "used only once" warnings.
@@ -46,7 +47,6 @@ use vars
@legal_components
@legal_target_milestone
- @legal_keywords
);
# Use the global template variables defined in globals.pl
@@ -69,7 +69,7 @@ $vars->{'priority'} = \@::legal_priority;
$vars->{'severity'} = \@::legal_severity;
$vars->{'platform'} = \@::legal_platform;
$vars->{'op_sys'} = \@::legal_opsys;
-$vars->{'keyword'} = \@::legal_keywords;
+$vars->{'keyword'} = [map($_->name, Bugzilla::Keyword::get_all_keywords())];
$vars->{'resolution'} = \@::legal_resolution;
$vars->{'status'} = \@::legal_bug_status;