|
|
|
@ -61,7 +61,7 @@ if ($session) { |
|
|
|
|
'code' => $user->getOfficialCode(), |
|
|
|
|
'complete_name' => $user->getCompleteName(), |
|
|
|
|
'time_in_platform' => api_time_to_hms( |
|
|
|
|
Tracking::get_time_spent_on_the_platform($user->getId()) |
|
|
|
|
Tracking::get_time_spent_on_the_platform($user->getId(), 'ever') |
|
|
|
|
), |
|
|
|
|
'first_connection' => Tracking::get_first_connection_date($user->getId()), |
|
|
|
|
'last_connection' => Tracking::get_last_connection_date($user->getId()), |
|
|
|
|