Skip to content
Snippets Groups Projects
Commit 18434c57 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Légère modif pour testabilité.

parent a8dad842
Branches
Tags
No related merge requests found
......@@ -37,7 +37,6 @@ class UserCurrent extends UserAbstract
*/
public function __toString()
{
try {
$id = 'user-current-info';
$userStatusHelper = $this->getView()->plugin('userStatus'); /* @var $userStatusHelper \UnicaenAuth\View\Helper\UserStatus */
$status = $userStatusHelper(false);
......@@ -79,11 +78,6 @@ EOS;
</script>
EOS;
$out .= PHP_EOL;
}
catch (\Exception $e) {
var_dump($e);
$out = '<p>' . $e->getMessage() . '</p><p>' . $e->getTraceAsString() . '</p>';
}
return $out;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment