mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Fix issue with delete
This commit is contained in:
@@ -362,12 +362,8 @@ class ManticoreSearchDriver implements SearchDriverInterface
|
||||
}
|
||||
|
||||
try {
|
||||
$index = str_replace('`', '``', $this->getReleasesIndex());
|
||||
$this->manticoreSearch->sql(sprintf(
|
||||
'DELETE FROM `%s` WHERE id IN (%s)',
|
||||
$index,
|
||||
implode(',', $ids)
|
||||
));
|
||||
$this->manticoreSearch->table($this->getReleasesIndex())
|
||||
->deleteDocumentsByIds($ids);
|
||||
} catch (ResponseException $e) {
|
||||
Log::error('ManticoreSearch deleteReleases error: '.$e->getMessage(), [
|
||||
'ids' => $ids,
|
||||
|
||||
Reference in New Issue
Block a user