Skip to content

Commit

Permalink
Merge pull request #19 from jadwigo/revert-16
Browse files Browse the repository at this point in the history
Revert #16 because it's handled in #17
  • Loading branch information
bobdenotter authored Aug 8, 2018
2 parents f801a15 + 1f6b316 commit 193ec23
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Controller/WhoIsEditingController.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,6 @@ public function addRoutes(ControllerCollection $ctr)
public function getEditorsActions(Application $app, Request $request)
{
$user = $app['users']->getCurrentUser();
if (!$user) {
//user is not logged in, so show nothing in widget and let Bolt do redirect to login page
return new Response();
}

$userId = $user['id'];
$recordId = $request->query->get('recordID');
$contenttype = $request->query->get('contenttype');
Expand Down

0 comments on commit 193ec23

Please sign in to comment.