From: Eric Wong Date: Thu, 28 Oct 2021 11:14:58 +0000 (+0000) Subject: lei convert: remove redundant input_net_cb X-Git-Tag: v1.7.0~34 X-Git-Url: http://www.git.stargrave.org/?p=public-inbox.git;a=commitdiff_plain;h=165efd91f75d64213eda4cebae11b310f8844300;hp=44812cbbec44625083b6e5441a798a21a5e79f71 lei convert: remove redundant input_net_cb Use the one provided by the LeiInput parent class. --- 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);