mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
finish elastic
This commit is contained in:
+5
-1
@@ -53,7 +53,11 @@ else
|
||||
bark($lang_delete['std_enter_reason']);
|
||||
$reasonstr = trim($reason[3]);
|
||||
}
|
||||
|
||||
$searchRep = new \App\Repositories\SearchRepository();
|
||||
$deleteEsResult = $searchRep->deleteTorrent($id);
|
||||
if ($deleteEsResult === false) {
|
||||
bark('Delete es fail.');
|
||||
}
|
||||
deletetorrent($id);
|
||||
|
||||
if ($row['anonymous'] == 'yes' && $CURUSER["id"] == $row["owner"]) {
|
||||
|
||||
Reference in New Issue
Block a user