mirror of
https://github.com/moodle/moodle.git
synced 2025-03-19 15:10:05 +01:00
Merge branch 'MDL-65853_master' of git://github.com/gjb2048/moodle
This commit is contained in:
commit
ca79f78948
@ -460,11 +460,6 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
foreach ($modinfo->sections[$section->section] as $cmid) {
|
||||
$thismod = $modinfo->cms[$cmid];
|
||||
|
||||
if ($thismod->modname == 'label') {
|
||||
// Labels are special (not interesting for students)!
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($thismod->uservisible) {
|
||||
if (isset($sectionmods[$thismod->modname])) {
|
||||
$sectionmods[$thismod->modname]['name'] = $thismod->modplural;
|
||||
|
Loading…
x
Reference in New Issue
Block a user