From b35c6389859f13f4f216179dac40a481c3fd7e09 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 26 Oct 2021 10:35:56 +0000 Subject: lei rm|tag: drop redundant mbox+net callbacks These are supplied by the base LeiInput class --- lib/PublicInbox/LeiRm.pm | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'lib/PublicInbox/LeiRm.pm') diff --git a/lib/PublicInbox/LeiRm.pm b/lib/PublicInbox/LeiRm.pm index 97b1c5c1..524c178e 100644 --- a/lib/PublicInbox/LeiRm.pm +++ b/lib/PublicInbox/LeiRm.pm @@ -13,16 +13,6 @@ sub input_eml_cb { # used by PublicInbox::LeiInput::input_fh $self->{lei}->{sto}->wq_do('remove_eml', $eml); } -sub input_mbox_cb { # MboxReader callback - my ($eml, $self) = @_; - input_eml_cb($self, $eml); -} - -sub input_net_cb { # callback for ->imap_each, ->nntp_each - my (undef, undef, $kw, $eml, $self) = @_; # @_[0,1]: url + uid ignored - input_eml_cb($self, $eml); -} - sub input_maildir_cb { my (undef, $kw, $eml, $self) = @_; # $_[0] $filename ignored input_eml_cb($self, $eml); -- cgit v1.2.3-24-ge0c7