We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c80d9 commit 98aac89Copy full SHA for 98aac89
1 file changed
classes/output/courseformat/state/section.php
@@ -55,9 +55,7 @@ public function __construct(course_format $format, section_info $section) {
55
public function export_for_template(renderer_base $output): stdClass {
56
$data = parent::export_for_template($output);
57
$format = $this->format;
58
- $course = $format->get_course();
59
$section = $this->section;
60
- $data->sectionurl = course_get_url($course, $section)->out(false);
61
$data->component = $section->component ?? null;
62
if ($section->component) {
63
return $data;
0 commit comments