mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
update: announce
This commit is contained in:
@@ -43,7 +43,7 @@ class Kernel extends ConsoleKernel
|
||||
$schedule->command('auto:softdelete_disabled_users')->daily();
|
||||
$schedule->command('auto:recycle_claimed_torrent_requests')->daily();
|
||||
$schedule->command('auto:correct_history')->daily();
|
||||
$schedule->command('auto:sync_peers')->everyTenMinutes();
|
||||
$schedule->command('auto:sync_peers')->everyFiveMinutes();
|
||||
$schedule->command('auto:email-blacklist-update')->weekends();
|
||||
$schedule->command('auto:reset_user_flushes')->daily();
|
||||
$schedule->command('auto:stats_clients')->daily();
|
||||
|
||||
@@ -468,8 +468,7 @@ class AnnounceController extends Controller
|
||||
$event = \strtolower($queries['event']);
|
||||
|
||||
// Get The Current Peer
|
||||
$peer = Peer::query()
|
||||
->where('torrent_id', '=', $torrent->id)
|
||||
$peer = $torrent->peers
|
||||
->where('peer_id', $queries['peer_id'])
|
||||
->where('user_id', '=', $user->id)
|
||||
->first();
|
||||
|
||||
Reference in New Issue
Block a user