Skip to content

Commit

Permalink
Fixed debug code that got added
Browse files Browse the repository at this point in the history
  • Loading branch information
dragonmantank committed Nov 23, 2016
1 parent c891c8f commit b32455f
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Mentoring/PublicSite/Controller/IndexController.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ public function viewProfileAction(Application $app, Request $request, $user_id)
return $app['twig']->render('index/profile.twig', [
'viewing_user' => $viewing_user,
'message_form' => $form === null ? null : $form->createView(),
// 'viewing_yourself' => ($user && $viewing_user->getId() == $user->getId())
'viewing_yourself' => false
]);
'viewing_yourself' => ($user && $viewing_user->getId() == $user->getId())
]);
}
}

0 comments on commit b32455f

Please sign in to comment.