add torrent download events #4

This commit is contained in:
ghost 2023-10-11 01:42:19 +03:00
parent 964dae97aa
commit 855929f592
6 changed files with 162 additions and 6 deletions

View file

@ -630,7 +630,7 @@ class TorrentService
->findTorrentDownloadFilesTotalByTorrentId($torrentId);
}
public function registerTorrentDownloadFile(
public function addTorrentDownloadFile(
int $torrentId,
int $userId,
int $added
@ -672,7 +672,7 @@ class TorrentService
->findTorrentDownloadMagnetsTotalByTorrentId($torrentId);
}
public function registerTorrentDownloadMagnet(
public function addTorrentDownloadMagnet(
int $torrentId,
int $userId,
int $added