summaryrefslogtreecommitdiffstats
path: root/Bugzilla/CGI.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-16 04:55:10 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-16 04:55:10 +0200
commitdbaf1c3aaf975ed78d8e8538b2df18ab9f47654b (patch)
treedb913e59441783297ad780e89cd372897a6ec184 /Bugzilla/CGI.pm
parent6a2a01fbc44c5a777b3a612540a9ced23401c2bc (diff)
downloadbugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.gz
bugzilla-dbaf1c3aaf975ed78d8e8538b2df18ab9f47654b.tar.xz
Bug 398308: Make Search.pm take a hashref for its "params" argument
instead of taking a CGI object. r=mkanat, a=mkanat (module owner)
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r--Bugzilla/CGI.pm12
1 files changed, 0 insertions, 12 deletions
diff --git a/Bugzilla/CGI.pm b/Bugzilla/CGI.pm
index e2d238f5a..295c57bb2 100644
--- a/Bugzilla/CGI.pm
+++ b/Bugzilla/CGI.pm
@@ -110,7 +110,6 @@ sub new {
sub canonicalise_query {
my ($self, @exclude) = @_;
- $self->convert_old_params();
# Reconstruct the URL by concatenating the sorted param=value pairs
my @parameters;
foreach my $key (sort($self->param())) {
@@ -135,17 +134,6 @@ sub canonicalise_query {
return join("&", @parameters);
}
-sub convert_old_params {
- my $self = shift;
-
- # bugidtype is now bug_id_type.
- if ($self->param('bugidtype')) {
- my $value = $self->param('bugidtype') eq 'exclude' ? 'nowords' : 'anyexact';
- $self->param('bug_id_type', $value);
- $self->delete('bugidtype');
- }
-}
-
sub clean_search_url {
my $self = shift;
# Delete any empty URL parameter.