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,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 739511F4C1 for ; Mon, 21 Oct 2019 11:22:29 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 1/7] overidx: remove unused delete_articles sub Date: Mon, 21 Oct 2019 11:22:23 +0000 Message-Id: <20191021112229.3029-2-e@80x24.org> In-Reply-To: <20191021112229.3029-1-e@80x24.org> References: <20191021112229.3029-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: This hasn't been used since commit 1b7e935ab1690e28 ("searchidx: fix incremental index with indexlevel=basic on v1") --- lib/PublicInbox/OverIdx.pm | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/PublicInbox/OverIdx.pm b/lib/PublicInbox/OverIdx.pm index 7fd1905d..e8df01c4 100644 --- a/lib/PublicInbox/OverIdx.pm +++ b/lib/PublicInbox/OverIdx.pm @@ -320,12 +320,6 @@ INSERT INTO id2num (id, num) VALUES (?,?) } } -sub delete_articles { - my ($self, $nums) = @_; - my $dbh = $self->connect; - $self->delete_by_num($_) foreach @$nums; -} - # returns number of removed messages # $oid may be undef to match only on $mid sub remove_oid {