|
|
|
@ -1826,6 +1826,12 @@ class TorrentController extends AbstractController
@@ -1826,6 +1826,12 @@ class TorrentController extends AbstractController
|
|
|
|
|
time() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Request scrape |
|
|
|
|
$torrentService->updateTorrentScraped( |
|
|
|
|
$torrent->getId(), |
|
|
|
|
0 |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Register download event |
|
|
|
|
$activityService->addEventTorrentDownloadFileAdd( |
|
|
|
|
$user->getId(), |
|
|
|
@ -1947,6 +1953,12 @@ class TorrentController extends AbstractController
@@ -1947,6 +1953,12 @@ class TorrentController extends AbstractController
|
|
|
|
|
time() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Request scrape |
|
|
|
|
$torrentService->updateTorrentScraped( |
|
|
|
|
$torrent->getId(), |
|
|
|
|
0 |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Register download event |
|
|
|
|
$activityService->addEventTorrentDownloadFileAdd( |
|
|
|
|
$user->getId(), |
|
|
|
@ -2065,6 +2077,12 @@ class TorrentController extends AbstractController
@@ -2065,6 +2077,12 @@ class TorrentController extends AbstractController
|
|
|
|
|
time() |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Request scrape |
|
|
|
|
$torrentService->updateTorrentScraped( |
|
|
|
|
$torrent->getId(), |
|
|
|
|
0 |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
// Register download event |
|
|
|
|
$activityService->addEventTorrentDownloadMagnetAdd( |
|
|
|
|
$user->getId(), |
|
|
|
|