mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-23 11:39:19 -05:00
update: general cleanup
This commit is contained in:
@@ -1393,7 +1393,9 @@ class UserController extends Controller
|
||||
'user' => $user,
|
||||
'active' => $table,
|
||||
])->render();
|
||||
} elseif ($request->has('view') && $request->input('view') == 'unsatisfieds') {
|
||||
}
|
||||
|
||||
if ($request->has('view') && $request->input('view') == 'unsatisfieds') {
|
||||
if (\config('hitrun.enabled') == true) {
|
||||
$history = History::selectRaw('distinct(history.info_hash), max(torrents.id), max(history.completed_at) as completed_at, max(torrents.name) as name, max(history.created_at) as created_at, max(history.id) as id, max(history.user_id) as user_id, max(history.seedtime) as seedtime, max(history.seedtime) as satisfied_at, max(history.seeder) as seeder, max(torrents.size) as size,max(torrents.leechers) as leechers,max(torrents.seeders) as seeders,max(torrents.times_completed) as times_completed')->with(['torrent' => function ($query) {
|
||||
$query->withAnyStatus();
|
||||
|
||||
Reference in New Issue
Block a user