mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-26 04:59:16 -05:00
Merge pull request #1054 from innocente205/UserController-Everybody-update
Update: UserController.php
This commit is contained in:
@@ -1257,7 +1257,7 @@ class UserController extends Controller
|
||||
if ($request->has('large') && $request->input('large') != null) {
|
||||
$query->orWhereRaw('(torrents.size > (1073741824 * 25) and torrents.size < (1073741824 * 100) and date_sub(peers.created_at,interval 30 minute) < now())', []);
|
||||
}
|
||||
if ($request->has('regular') && $request->input('regular') != null) {
|
||||
if ($request->has('everyday') && $request->input('everyday') != null) {
|
||||
$query->orWhereRaw('(torrents.size > (1073741824) and torrents.size < (1073741824 * 25) and date_sub(peers.created_at,interval 30 minute) < now())', []);
|
||||
}
|
||||
if ($request->has('participant_seeder') && $request->input('participant_seeder') != null) {
|
||||
|
||||
Reference in New Issue
Block a user