about summary refs log tree commit homepage
path: root/lib/PublicInbox/Search.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-01-04 22:14:22 +0000
committerEric Wong <e@80x24.org>2020-01-05 00:05:50 +0000
commit3f76a9cd37c2685cb240b4b8894be93ee7171a25 (patch)
tree5afe595c3f031134c5b7503253fee73eecffeb92 /lib/PublicInbox/Search.pm
parentcb850caf867e3e6920233c1c1ab7120cac054af8 (diff)
downloadpublic-inbox-3f76a9cd37c2685cb240b4b8894be93ee7171a25.tar.gz
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.
Diffstat (limited to 'lib/PublicInbox/Search.pm')
-rw-r--r--lib/PublicInbox/Search.pm5
1 files changed, 0 insertions, 5 deletions
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