mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-05-07 19:49:59 -05:00
update: auto high speed tag command
- Change Count Array To Empty Array Comparison
This commit is contained in:
@@ -49,7 +49,7 @@ class AutoHighspeedTag extends Command
|
||||
|
||||
$seedboxUsers = Seedbox::select(['user_id'])->get()->toArray();
|
||||
|
||||
if (\is_array($seedboxUsers) && \count($seedboxUsers) > 0) {
|
||||
if (\is_array($seedboxUsers) && $seedboxUsers !== []) {
|
||||
$torid = Peer::select(['torrent_id'])->whereIn('user_id', $seedboxUsers)->where('seeder', '=', 1)->get()->toArray();
|
||||
|
||||
foreach ($torid as $id) {
|
||||
|
||||
Reference in New Issue
Block a user