about summary refs log tree commit homepage
path: root/lib/PublicInbox/SearchMsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2019-06-13 01:49:11 +0000
committerEric Wong <e@80x24.org>2019-06-13 01:50:18 +0000
commit0e61f4d27f270a49c748ed99e1a5cc0809e6835b (patch)
treee22d8886be59905be7f28b597e96a117d9f75a89 /lib/PublicInbox/SearchMsg.pm
parentefa2071d80a0240f7d7627b78812f8d1ed57a25f (diff)
downloadpublic-inbox-0e61f4d27f270a49c748ed99e1a5cc0809e6835b.tar.gz
searchmsg: remove unused ->get subroutine
It's obsolete and unusable since our search schema version 15;
which made the Xapian document ID correspond to the NNTP article
number.
Diffstat (limited to 'lib/PublicInbox/SearchMsg.pm')
-rw-r--r--lib/PublicInbox/SearchMsg.pm6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/PublicInbox/SearchMsg.pm b/lib/PublicInbox/SearchMsg.pm
index 5f3c8af8..96a26b15 100644
--- a/lib/PublicInbox/SearchMsg.pm
+++ b/lib/PublicInbox/SearchMsg.pm
@@ -25,12 +25,6 @@ sub wrap {
         bless { mid => $mid }, $class;
 }
 
-sub get {
-        my ($class, $head, $db, $mid) = @_;
-        my $doc_id = $head->get_docid;
-        load_expand(wrap($class, $mid), $db->get_document($doc_id));
-}
-
 sub get_val ($$) {
         my ($doc, $col) = @_;
         Search::Xapian::sortable_unserialise($doc->get_value($col));