about summary refs log tree commit homepage
path: root/lib/PublicInbox/LeiQuery.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-03-20 19:04:07 +0900
committerEric Wong <e@80x24.org>2021-03-21 09:45:50 +0000
commit0b3d4d72297f82cb43993074dfc4650a01f75683 (patch)
tree1e63ab9604b7c9ac71e5b5866e763d946a988895 /lib/PublicInbox/LeiQuery.pm
parentbd287d742b81dab13e936727724e5c4de55c44c7 (diff)
downloadpublic-inbox-0b3d4d72297f82cb43993074dfc4650a01f75683.tar.gz
This should make a future change to "lei import" work more
nicely, since we'll be needing ALE to vivify external-only
messages upon explicit "lei import".
Diffstat (limited to 'lib/PublicInbox/LeiQuery.pm')
-rw-r--r--lib/PublicInbox/LeiQuery.pm4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/PublicInbox/LeiQuery.pm b/lib/PublicInbox/LeiQuery.pm
index 007e35fc..148e8524 100644
--- a/lib/PublicInbox/LeiQuery.pm
+++ b/lib/PublicInbox/LeiQuery.pm
@@ -57,10 +57,6 @@ sub lei_q {
         }
         if ($opt->{'local'} //= scalar(@only) ? 0 : 1) {
                 $lxs->prepare_external($lse);
-        } else {
-                my $tmp = PublicInbox::LeiXSearch->new;
-                $tmp->prepare_external($lse);
-                $self->ale->refresh_externals($tmp);
         }
         if (@only) {
                 for my $loc (@only) {