about summary refs log tree commit homepage
path: root/lib/PublicInbox/Smsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-08-20 20:24:54 +0000
committerEric Wong <e@yhbt.net>2020-08-20 21:11:22 +0000
commit4c7baaa7dcacf1108c7db6e0ce484ab76c4a018a (patch)
treeb4450e989f7af9a574b3da98829e840c1b8318ca /lib/PublicInbox/Smsg.pm
parentb63ffbe2b634daedb05b1e27fc272e2708c2bf90 (diff)
downloadpublic-inbox-4c7baaa7dcacf1108c7db6e0ce484ab76c4a018a.tar.gz
We no longer read docdata.glass from anywhere in our code base.

Some adjustments were needed to t/search.t to deal with the
Xapian::WritableDatabase committing at different times, since
our ->query is avoided from PublicInbox::SearchIdx to avoid
needing a {over_ro} field.
Diffstat (limited to 'lib/PublicInbox/Smsg.pm')
-rw-r--r--lib/PublicInbox/Smsg.pm8
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/PublicInbox/Smsg.pm b/lib/PublicInbox/Smsg.pm
index f22cd43e..51226b8e 100644
--- a/lib/PublicInbox/Smsg.pm
+++ b/lib/PublicInbox/Smsg.pm
@@ -86,14 +86,6 @@ sub psgi_cull ($) {
         $self;
 }
 
-# Only called by PSGI interface, not NNTP
-sub from_mitem {
-        my ($mitem, $srch) = @_;
-        return $srch->retry_reopen(\&from_mitem, $mitem) if $srch;
-        my $self = bless {}, __PACKAGE__;
-        psgi_cull(load_expand($self, $mitem->get_document));
-}
-
 # for Import and v1 non-SQLite WWW code paths
 sub populate {
         my ($self, $hdr, $sync) = @_;