Skip to content

Commit

Permalink
Merge branch 'MDL-65853_master' of git://github.com/gjb2048/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
stronk7 committed Jul 2, 2019
2 parents 1ba1235 + 5f3d948 commit ca79f78
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions course/format/renderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -460,11 +460,6 @@ protected function section_activity_summary($section, $course, $mods) {
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;
Expand Down

0 comments on commit ca79f78

Please sign in to comment.