mirror of
https://github.com/moodle/moodle.git
synced 2025-02-13 12:34:28 +01:00
Merge branch 'MDL-33126-master' of git://github.com/sammarshallou/moodle
This commit is contained in:
commit
f7290156ad
@ -552,6 +552,8 @@ abstract class format_section_renderer_base extends plugin_renderer_base {
|
||||
// a section_info object - we will need at least the uservisible
|
||||
// field in it.
|
||||
$thissection->uservisible = true;
|
||||
$thissection->availableinfo = null;
|
||||
$thissection->showavailability = 0;
|
||||
}
|
||||
// Show the section if the user is permitted to access it, OR if it's not available
|
||||
// but showavailability is turned on
|
||||
|
Loading…
x
Reference in New Issue
Block a user