function gcr_delete_user_event_listener($eventdata)
{
    global $CFG;
    $mhr_user = $CFG->current_app->getUserById($eventdata['id']);
    GcrMdlWebServices::deleteUser($mhr_user);
}
Esempio n. 2
0
 public static function search_courses($query)
 {
     return GcrMdlWebServices::searchCourses($query);
 }