Skip to content

Commit

Permalink
Merge branch 'master_MDL-60421' of https://github.com/danmarsden/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Feb 6, 2018
2 parents 8c52eb2 + 3e08011 commit 24d8485
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -98,7 +98,7 @@ protected function col_cohortname($data) {
);
$context = context_helper::instance_by_id($data->cohortcontextid);

$exporter = new \tool_lp\external\cohort_summary_exporter($record, array('context' => $context));
$exporter = new \core_cohort\external\cohort_summary_exporter($record, array('context' => $context));
$cohort = $exporter->export($OUTPUT);

$html = $OUTPUT->render_from_template('tool_cohortroles/cohort-in-list', $cohort);
Expand Down

0 comments on commit 24d8485

Please sign in to comment.