about summary refs log tree commit homepage
path: root/lib/PublicInbox/ExtSearch.pm
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2020-10-27 07:54:08 +0000
committerEric Wong <e@80x24.org>2020-11-07 10:16:14 +0000
commitdff966c6e7e804b4e760aae39dda0b2c1a6ef30f (patch)
treedf7c0f4b3c3af5051c387fd43ef7b9e65729d2cf /lib/PublicInbox/ExtSearch.pm
parent6cdfe12cbcdd87ecfdafa487e4d78c3a12ac551e (diff)
downloadpublic-inbox-dff966c6e7e804b4e760aae39dda0b2c1a6ef30f.tar.gz
We can simplify callers by using $self->{xpfx} instead of
passing another arg on the stack.
Diffstat (limited to 'lib/PublicInbox/ExtSearch.pm')
-rw-r--r--lib/PublicInbox/ExtSearch.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ExtSearch.pm b/lib/PublicInbox/ExtSearch.pm
index 9bbe7857..8997cd54 100644
--- a/lib/PublicInbox/ExtSearch.pm
+++ b/lib/PublicInbox/ExtSearch.pm
@@ -23,7 +23,7 @@ sub new {
 # overrides PublicInbox::Search::_xdb
 sub _xdb {
         my ($self) = @_;
-        $self->_xdb_sharded($self->{xpfx});
+        $self->xdb_sharded;
 }
 
 # same as per-inbox ->over, for now...