diff --git a/course/format/renderer.php b/course/format/renderer.php index ffdd6dbdb14..a33ecad749f 100644 --- a/course/format/renderer.php +++ b/course/format/renderer.php @@ -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;