From 8fa9965e5476717e574f2674c6df8c4487874634 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 30 Jan 2011 13:07:59 +0100 Subject: Bug 616185: Move tags (aka lists of bugs) to their own DB tables r/a=mkanat --- Bugzilla/Search/Saved.pm | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'Bugzilla/Search') diff --git a/Bugzilla/Search/Saved.pm b/Bugzilla/Search/Saved.pm index 4b46fc75c..9828d6e02 100644 --- a/Bugzilla/Search/Saved.pm +++ b/Bugzilla/Search/Saved.pm @@ -45,17 +45,15 @@ use constant DB_COLUMNS => qw( userid name query - query_type ); use constant VALIDATORS => { name => \&_check_name, query => \&_check_query, - query_type => \&_check_query_type, link_in_footer => \&_check_link_in_footer, }; -use constant UPDATE_COLUMNS => qw(name query query_type); +use constant UPDATE_COLUMNS => qw(name query); ############### # Constructor # @@ -141,12 +139,6 @@ sub _check_query { return $cgi->query_string; } -sub _check_query_type { - my ($invocant, $type) = @_; - # Right now the only query type is LIST_OF_BUGS. - return $type ? LIST_OF_BUGS : QUERY_LIST; -} - ######################### # Database Manipulation # ######################### @@ -301,7 +293,6 @@ sub shared_with_users { # Simple Accessors # #################### -sub type { return $_[0]->{'query_type'}; } sub url { return $_[0]->{'query'}; } sub user { @@ -317,7 +308,6 @@ sub user { sub set_name { $_[0]->set('name', $_[1]); } sub set_url { $_[0]->set('query', $_[1]); } -sub set_query_type { $_[0]->set('query_type', $_[1]); } 1; -- cgit v1.2.3-24-g4f1b