Skip to content

Commit

Permalink
Tidy section menu WIP 6
Browse files Browse the repository at this point in the history
  • Loading branch information
james-cnz committed Apr 25, 2023
1 parent be4b276 commit f5489b8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions classes/output/courseformat/content/section/controlmenu.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ public function section_control_items() {
$onsectionpage = $section->levelsan < FORMAT_MULTITOPIC_SECTION_LEVEL_TOPIC; // ADDED.
$course = $format->get_course();
$user = $USER;

$usecomponents = $format->supports_components();
$coursecontext = context_course::instance($course->id);

$baseurl = course_get_url($course, $section, ['fmtedit' => true]); // CHANGED.
Expand Down

0 comments on commit f5489b8

Please sign in to comment.