diff options
Diffstat (limited to 'Bugzilla/CGI.pm')
-rw-r--r-- | Bugzilla/CGI.pm | 12 |
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. |