mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
finish elastic
This commit is contained in:
+4
-1
@@ -243,7 +243,10 @@ else
|
||||
{
|
||||
write_log("Torrent $id ($name) was edited by {$CURUSER['username']}, Mod Edit" . $pick_info . $place_info);
|
||||
}
|
||||
\App\Events\TorrentUpdated::dispatch($id);
|
||||
|
||||
$searchRep = new \App\Repositories\SearchRepository();
|
||||
$searchRep->updateTorrent($id);
|
||||
|
||||
$returl = "details.php?id=$id&edited=1";
|
||||
if (isset($_POST["returnto"]))
|
||||
$returl = $_POST["returnto"];
|
||||
|
||||
Reference in New Issue
Block a user