Add Event::registerLog in userportal see BT#15020

pull/2757/head
Julio Montoya 7 years ago
parent 676d2c17fe
commit f75ee16fc9
  1. 10
      user_portal.php

@ -34,6 +34,16 @@ $this_section = SECTION_COURSES;
api_block_anonymous_users(); // Only users who are logged in can proceed.
// ## NSR - log
$logInfo = [
'tool' => SECTION_COURSES,
'tool_id' => 0,
'tool_id_detail' => 0,
'action' => '',
'info' => '',
];
Event::registerLog($logInfo);
$userId = api_get_user_id();
/* Constants and CONFIGURATION parameters */

Loading…
Cancel
Save