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 59FB01FA11 for ; Thu, 28 Oct 2021 11:15:02 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 5/8] lei convert: remove redundant input_net_cb Date: Thu, 28 Oct 2021 11:14:58 +0000 Message-Id: <20211028111501.24014-6-e@80x24.org> In-Reply-To: <20211028111501.24014-1-e@80x24.org> References: <20211028111501.24014-1-e@80x24.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: Use the one provided by the LeiInput parent class. --- lib/PublicInbox/LeiConvert.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/PublicInbox/LeiConvert.pm b/lib/PublicInbox/LeiConvert.pm index 623599aef883..906f30268344 100644 --- a/lib/PublicInbox/LeiConvert.pm +++ b/lib/PublicInbox/LeiConvert.pm @@ -23,11 +23,6 @@ sub input_eml_cb { # used by PublicInbox::LeiInput::input_fh $self->{wcb}->(undef, {}, $eml); } -sub input_net_cb { # callback for ->imap_each, ->nntp_each - my (undef, undef, $kw, $eml, $self) = @_; # @_[0,1]: url + uid ignored - $self->{wcb}->(undef, { kw => $kw }, $eml); -} - sub input_maildir_cb { my (undef, $kw, $eml, $self) = @_; # $_[0] $filename ignored $self->{wcb}->(undef, { kw => $kw }, $eml);