MDL-61015 course: consistently display hidden sections
authorMarina Glancy <marina@moodle.com>
Mon, 9 Apr 2018 06:51:31 +0000 (14:51 +0800)
committerLuca Bösch <luca.boesch@bfh.ch>
Thu, 17 May 2018 06:01:24 +0000 (08:01 +0200)
commit3b29978c8ea5a29d2c79ed753a4b73e691065762
treef2eb3d438cec3b80948ebec892368fd793b33b0d
parent22744b745bb456f525e8ef09e1fb719a69fc2570
MDL-61015 course: consistently display hidden sections

When section is hidden but the course setting says to show hidden sections display the hidden
sections consistently with how we display the sections with access restriction.

The only difference is that we didn't previously display the summary of the hidden section
in this case, the new logic repeats this behavior
course/format/renderer.php