mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Remove check for existing sphinxql
This commit is contained in:
@@ -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'])
|
||||
|
||||
Reference in New Issue
Block a user