about summary refs log tree commit homepage
path: root/lib/PublicInbox/LEI.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-12-31 17:47:50 -1200
committerEric Wong <e@80x24.org>2021-01-02 09:15:10 +0000
commitd893d3c028a7fc442e024e5e5b8ea737945b19b3 (patch)
treea3694a511a8a2eecd43afbb27e814c8714a56792 /lib/PublicInbox/LEI.pm
parentaf2429033aef447f0149b207d87ffacfb057fc6d (diff)
downloadpublic-inbox-d893d3c028a7fc442e024e5e5b8ea737945b19b3.tar.gz
Hopefully this will make it easier to spot dependency
bugs in the future.
Diffstat (limited to 'lib/PublicInbox/LEI.pm')
-rw-r--r--lib/PublicInbox/LEI.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 320a2bfc..2bc4a916 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -453,7 +453,6 @@ sub _lei_store ($;$) {
         my $cfg = _lei_cfg($self, $creat);
         $cfg->{-lei_store} //= do {
                 require PublicInbox::LeiStore;
-                PublicInbox::SearchIdx::load_xapian_writable();
                 my $dir = $cfg->{'leistore.dir'};
                 $dir //= _store_path($self->{env}) if $creat;
                 return unless $dir;