finish elastic

This commit is contained in:
xiaomlove
2022-03-26 16:09:39 +08:00
parent 0bc1e2f9d3
commit d15a837188
8 changed files with 118 additions and 38 deletions
+2 -1
View File
@@ -372,7 +372,8 @@ KPS("+",$uploadtorrent_bonus,$CURUSER["id"]);
write_log("Torrent $id ($torrent) was uploaded by $anon");
\App\Events\TorrentUpdated::dispatch($id);
$searchRep = new \App\Repositories\SearchRepository();
$searchRep->addTorrent($id);
//===notify people who voted on offer thanks CoLdFuSiOn :)
if ($is_offer)