]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/Smsg.pm
smsg: remove from_mitem
[public-inbox.git] / lib / PublicInbox / Smsg.pm
index f22cd43e7d4b69ce97eaf248546dd1598715ebd4..51226b8ed85428d51ccf29d46100ab1c48bb82b7 100644 (file)
@@ -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) = @_;