Skip to content

Commit

Permalink
MDL-60421 tool_cohortroles: fix deprecated call.
Browse files Browse the repository at this point in the history
  • Loading branch information
danmarsden committed Feb 1, 2018
1 parent a4f914b commit 3e08011
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
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 3e08011

Please sign in to comment.