about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiStore.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/LeiStore.pm')
-rw-r--r--lib/PublicInbox/LeiStore.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/PublicInbox/LeiStore.pm b/lib/PublicInbox/LeiStore.pm
index 4f77e8fa..7cda7e44 100644
--- a/lib/PublicInbox/LeiStore.pm
+++ b/lib/PublicInbox/LeiStore.pm
@@ -10,7 +10,6 @@ package PublicInbox::LeiStore;
 use strict;
 use v5.10.1;
 use parent qw(PublicInbox::Lock PublicInbox::IPC);
-use PublicInbox::SearchIdx qw(crlf_adjust);
 use PublicInbox::ExtSearchIdx;
 use PublicInbox::Import;
 use PublicInbox::InboxWritable;
@@ -197,9 +196,6 @@ sub add_eml {
         my $smsg = bless { -oidx => $oidx }, 'PublicInbox::Smsg';
         my $im = $self->importer;
         $im->add($eml, undef, $smsg) or return; # duplicate returns undef
-        my $msgref = delete $smsg->{-raw_email};
-        $smsg->{bytes} = $smsg->{raw_bytes} + crlf_adjust($$msgref);
-        undef $msgref;
 
         local $self->{current_info} = $smsg->{blob};
         if (my @docids = _docids_for($self, $eml)) {