Remove exports from Bugzilla::Search

hinted-selects
Vitaliy Filippov 2014-10-27 18:26:28 +03:00
parent 19076fdcc2
commit 904055ea47
2 changed files with 2 additions and 8 deletions

View File

@ -352,12 +352,6 @@ use warnings;
package Bugzilla::Search;
use base qw(Exporter);
@Bugzilla::Search::EXPORT = qw(
EMPTY_COLUMN
split_order_term
translate_old_column
);
use Bugzilla::Error;
use Bugzilla::Util;

View File

@ -718,8 +718,8 @@ if ($order)
{
$fragment = trim($fragment);
next unless $fragment;
my ($column_name, $direction) = split_order_term($fragment);
$column_name = translate_old_column($column_name);
my ($column_name, $direction) = Bugzilla::Search::split_order_term($fragment);
$column_name = Bugzilla::Search::translate_old_column($column_name);
# Special handlings for certain columns
next if $column_name eq 'relevance' && !$fulltext;