mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 10:26:40 +02:00
![]() The visibility of coursemodules is now always set through the function set_coursemodule_visible() in order to make sure that the associated events get updated in the calendar appropriately. If moving a coursemodule to a hidden section then the module is set to hidden as well and its events are hidden in the calendar. If deleting a coursemodule its events are deleted from the calendar. The function choose_from_menu() has an extra optional argument $disabled which, when set to true, will disable the menu. For the sake of consistency the function set_groupmode_for_module has been renamed to set_coursemodule_groupmode and the functions show_course_module() and hide_course_module() have been combined to set_coursemodule_visible(). |
||
---|---|---|
.. | ||
directory | ||
file | ||
html | ||
text | ||
common.html | ||
common_end.html |