about summary refs log tree commit homepage
path: root/lib/PublicInbox/Smsg.pm
diff options
context:
space:
mode:
authorEric Wong <e@yhbt.net>2020-06-01 10:06:50 +0000
committerEric Wong <e@yhbt.net>2020-06-03 04:04:21 +0000
commit3ca8e5830e02bd42ea3b2b80733206c9aaafa4c0 (patch)
tree055aa38322e297cc2a61ad7450d21cd66c6eb33d /lib/PublicInbox/Smsg.pm
parent9ab886546cc89f37819e1ef09cb49fd9325b3a41 (diff)
downloadpublic-inbox-3ca8e5830e02bd42ea3b2b80733206c9aaafa4c0.tar.gz
smsg: get rid of ->wrap initializer, too
We'll just use `bless' like most current PublicInbox::Smsg callers.
Diffstat (limited to 'lib/PublicInbox/Smsg.pm')
-rw-r--r--lib/PublicInbox/Smsg.pm5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/PublicInbox/Smsg.pm b/lib/PublicInbox/Smsg.pm
index 8e277127..446bca81 100644
--- a/lib/PublicInbox/Smsg.pm
+++ b/lib/PublicInbox/Smsg.pm
@@ -17,11 +17,6 @@ use PublicInbox::Address;
 use PublicInbox::MsgTime qw(msg_timestamp msg_datestamp);
 use Time::Local qw(timegm);
 
-sub wrap {
-        my ($class, $mid) = @_;
-        bless { mid => $mid }, $class;
-}
-
 sub get_val ($$) {
         my ($doc, $col) = @_;
         # sortable_unserialise is defined by PublicInbox::Search::load_xapian()