]> Sergey Matveev's repositories - public-inbox.git/commitdiff
lei convert: remove redundant input_net_cb
authorEric Wong <e@80x24.org>
Thu, 28 Oct 2021 11:14:58 +0000 (11:14 +0000)
committerEric Wong <e@80x24.org>
Thu, 28 Oct 2021 19:17:10 +0000 (19:17 +0000)
Use the one provided by the LeiInput parent class.

lib/PublicInbox/LeiConvert.pm

index 623599aef883b7cb15b8f63264d23bc157c5da57..906f3026834481f8c98cd03e2a62f6ffede6c3e3 100644 (file)
@@ -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);