remove log message
This commit is contained in:
parent
24ca00a325
commit
e8108597c4
@ -26,18 +26,15 @@ class DashboardController extends AppBaseController
|
||||
*/
|
||||
public function index()
|
||||
{
|
||||
$pireps = $this->pirepRepo->recent();
|
||||
$users = $this->userRepo->recent();
|
||||
$pireps = $this->pirepRepo->recent();
|
||||
|
||||
$last_pirep = null;
|
||||
$user = Auth::user();
|
||||
|
||||
try {
|
||||
$last_pirep = $this->pirepRepo->find($user->last_pirep_id);
|
||||
} catch(\Exception $e) {
|
||||
Log::info('No last PIREP for ' . $user->pilot_id);
|
||||
}
|
||||
|
||||
} catch(\Exception $e) { }
|
||||
|
||||
return $this->view('dashboard.index', [
|
||||
'user' => $user,
|
||||
|
Loading…
Reference in New Issue
Block a user