From 165efd91f75d64213eda4cebae11b310f8844300 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 28 Oct 2021 11:14:58 +0000 Subject: lei convert: remove redundant input_net_cb 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 623599ae..906f3026 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); -- cgit v1.2.3-24-ge0c7