From 4fd2c5bc49a104eefa209708132877b1e6727db8 Mon Sep 17 00:00:00 2001 From: DariusIII Date: Sun, 20 Nov 2022 17:33:41 +0100 Subject: [PATCH] Remove check for existing sphinxql --- Blacklight/SphinxSearch.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Blacklight/SphinxSearch.php b/Blacklight/SphinxSearch.php index fb8aefc6d..c08467eb4 100755 --- a/Blacklight/SphinxSearch.php +++ b/Blacklight/SphinxSearch.php @@ -67,7 +67,7 @@ class SphinxSearch */ public function insertRelease(array $parameters): void { - if ($this->sphinxQL !== null && $parameters['id']) { + if ($parameters['id']) { $this->sphinxQL ->replace() ->into($this->config['indexes']['releases']) @@ -87,7 +87,7 @@ class SphinxSearch */ public function insertPredb(array $parameters): void { - if ($this->sphinxQL !== null && $parameters['id']) { + if ($parameters['id']) { $this->sphinxQL ->replace() ->into($this->config['indexes']['predb'])