diff options
author | Eric Wong <e@80x24.org> | 2020-10-27 07:54:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2020-11-07 10:16:14 +0000 |
commit | dff966c6e7e804b4e760aae39dda0b2c1a6ef30f (patch) | |
tree | df7c0f4b3c3af5051c387fd43ef7b9e65729d2cf /lib/PublicInbox/ExtSearch.pm | |
parent | 6cdfe12cbcdd87ecfdafa487e4d78c3a12ac551e (diff) | |
download | public-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.pm | 2 |
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... |