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 --- Bugzilla/Bug.pm | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'Bugzilla/Bug.pm') diff --git a/Bugzilla/Bug.pm b/Bugzilla/Bug.pm index 43f5a1285..c314b8ee1 100755 --- a/Bugzilla/Bug.pm +++ b/Bugzilla/Bug.pm @@ -30,7 +30,7 @@ package Bugzilla::Bug; use strict; -use vars qw($legal_keywords @legal_platform +use vars qw(@legal_platform @legal_priority @legal_severity @legal_opsys @legal_bug_status @settable_resolution %components %target_milestone @enterable_products %milestoneurl %prodmaxvotes); @@ -523,11 +523,6 @@ sub show_attachment_flags { return $self->{'show_attachment_flags'}; } - -sub use_keywords { - return @::legal_keywords; -} - sub use_votes { my ($self) = @_; return 0 if $self->{'error'}; @@ -1337,7 +1332,7 @@ sub _validate_attribute { longdescs milestoneurl attachments isopened isunconfirmed flag_types num_attachment_flag_types - show_attachment_flags use_keywords any_flags_requesteeble), + show_attachment_flags any_flags_requesteeble), # Bug fields. Bugzilla::Bug->fields -- cgit v1.2.3-24-g4f1b