mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-37085 Substitute function print_section_add_menus() with core_course_renderer::course_section_add_cm_controls()
This commit is contained in:
parent
697ff99997
commit
9a6aa5c17d
6 changed files with 139 additions and 145 deletions
|
@ -144,9 +144,7 @@
|
|||
|
||||
print_section($SITE, $section, $mods, $modnamesused, true);
|
||||
|
||||
if ($editing) {
|
||||
print_section_add_menus($SITE, $section->section, $modnames);
|
||||
}
|
||||
echo $courserenderer->course_section_add_cm_control($SITE, $section->section);
|
||||
echo $OUTPUT->box_end();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue