]> Sergey Matveev's repositories - public-inbox.git/commitdiff
search: remove unnecessary OP_AND of query
authorEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 5 Apr 2018 09:34:08 +0000 (09:34 +0000)
committerEric Wong (Contractor, The Linux Foundation) <e@80x24.org>
Thu, 5 Apr 2018 10:27:13 +0000 (10:27 +0000)
This was vestigial code from the switch to the overview DB

lib/PublicInbox/Search.pm

index eca2b0f553da802821c25438b143f19e0bfab1bd..4e014f4ec1214664b37add315fe1f6eef71a8175 100644 (file)
@@ -216,7 +216,6 @@ sub _do_enquire {
 sub _enquire_once {
        my ($self, $query, $opts) = @_;
        my $enquire = enquire($self);
-       $query = Search::Xapian::Query->new(OP_AND,$query);
        $enquire->set_query($query);
        $opts ||= {};
         my $desc = !$opts->{asc};