Remove check for existing sphinxql

This commit is contained in:
DariusIII
2022-11-20 17:33:41 +01:00
parent d018c509e6
commit 4fd2c5bc49
+2 -2
View File
@@ -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'])