From 3f76a9cd37c2685cb240b4b8894be93ee7171a25 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 4 Jan 2020 22:14:22 +0000 Subject: search: remove lookup_article It was no longer used outside of tests, so don't penalize regular users with the extra function. Just inline it for t/search.t. --- lib/PublicInbox/Search.pm | 5 ----- 1 file changed, 5 deletions(-) (limited to 'lib/PublicInbox') diff --git a/lib/PublicInbox/Search.pm b/lib/PublicInbox/Search.pm index f897b833..aff3d48b 100644 --- a/lib/PublicInbox/Search.pm +++ b/lib/PublicInbox/Search.pm @@ -336,11 +336,6 @@ EOF $self->{query_parser} = $qp; } -sub lookup_article { - my ($self, $num) = @_; - $self->{over_ro}->get_art($num); -} - sub help { my ($self) = @_; $self->qp; # parse altids -- cgit v1.2.3-24-ge0c7