diff options
author | mkanat%kerio.com <> | 2006-03-09 08:08:57 +0000 |
---|---|---|
committer | mkanat%kerio.com <> | 2006-03-09 08:08:57 +0000 |
commit | a2eca825a00b33912ec60f797d1112115772ec30 (patch) | |
tree | da4d1e84679afe825f8eb0ef4b1da7d5bc463d67 /colchange.cgi | |
parent | Bug 323912: When a group cannot be deleted because it is in used, ThrowUserEr... (diff) | |
download | bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.tar.gz bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.tar.bz2 bugzilla-a2eca825a00b33912ec60f797d1112115772ec30.zip |
Bug 328638: Remove @::legal_keywords and %::keywordsbyname
Patch By Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit, a=justdave
Diffstat (limited to 'colchange.cgi')
-rwxr-xr-x | colchange.cgi | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/colchange.cgi b/colchange.cgi index 43bfd86ee..72ce01f44 100755 --- a/colchange.cgi +++ b/colchange.cgi @@ -25,13 +25,10 @@ use strict; use lib qw(.); -use vars qw( - @legal_keywords -); - use Bugzilla; use Bugzilla::Constants; use Bugzilla::User; +use Bugzilla::Keyword; require "globals.pl"; Bugzilla->login(); @@ -71,7 +68,7 @@ if (Param("useqacontact")) { if (Param("usestatuswhiteboard")) { push(@masterlist, "status_whiteboard"); } -if (@::legal_keywords) { +if (Bugzilla::Keyword::keyword_count()) { push(@masterlist, "keywords"); } |