summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Search/Saved.pm
diff options
context:
space:
mode:
Diffstat (limited to 'Bugzilla/Search/Saved.pm')
-rw-r--r--Bugzilla/Search/Saved.pm12
1 files changed, 1 insertions, 11 deletions
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;