diff --git a/report/participation/index.php b/report/participation/index.php index e0883438d32..e63ac40fa4e 100644 --- a/report/participation/index.php +++ b/report/participation/index.php @@ -390,11 +390,7 @@ if (!empty($instanceid) && !empty($roleid)) { echo ''."\n"; echo ''."\n"; - $options = new stdClass(); - $options->courseid = $course->id; - $options->noteStateNames = note_get_state_names(); - $options->stateHelpIcon = $OUTPUT->help_icon('publishstate', 'notes'); - $PAGE->requires->js_call_amd('report_participation/participants', 'init', [$options]); + $PAGE->requires->js_call_amd('report_participation/participants', 'init'); } echo ''."\n"; }