From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 568DE1F462 for ; Fri, 14 Jun 2019 17:17:25 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 0/2] search*: require Inbox refs for ->new Date: Fri, 14 Jun 2019 17:17:23 +0000 Message-Id: <20190614171725.12820-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Just removing some old cruft which predated the use of the PublicInbox::Inbox object. Diffstat says this is a win, too. Eric Wong (2): searchidx: require PublicInbox::Inbox (or InboxWritable) ref search: require PublicInbox::Inbox ref here lib/PublicInbox/Inbox.pm | 2 +- lib/PublicInbox/Search.pm | 15 +++++---------- lib/PublicInbox/SearchIdx.pm | 35 +++++++++++++---------------------- t/altid.t | 5 +++-- t/nntpd.t | 4 ++-- t/psgi_search.t | 4 +++- t/search-thr-index.t | 4 +++- t/search.t | 11 ++++++----- 8 files changed, 36 insertions(+), 44 deletions(-) -- EW