mirror of
https://github.com/HDInnovations/UNIT3D-Community-Edition.git
synced 2026-04-22 01:38:49 -05:00
Apply fixes from StyleCI
This commit is contained in:
@@ -138,7 +138,6 @@ class ForumController extends Controller
|
||||
$sorting = 'posts.id';
|
||||
$direction = 'desc';
|
||||
}
|
||||
|
||||
} else {
|
||||
if ($request->has('sorting') && $request->input('sorting') != null) {
|
||||
$sorting = \sprintf('topics.%s', $request->input('sorting'));
|
||||
@@ -147,7 +146,6 @@ class ForumController extends Controller
|
||||
$sorting = 'topics.last_reply_at';
|
||||
$direction = 'desc';
|
||||
}
|
||||
|
||||
}
|
||||
$results = $result->orderBy($sorting, $direction)->paginate(25)->withQueryString();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user