MDL-81610 course: Update upgrade.txt

This commit is contained in:
Huong Nguyen 2024-04-30 09:08:02 +07:00
parent 0767670829
commit 810cdb12cb
No known key found for this signature in database
GPG key ID: 40D88AB693A3E72A

View file

@ -2,6 +2,10 @@ This files describes API changes for course formats
Overview of this plugin type at https://moodledev.io/docs/apis/plugintypes/format Overview of this plugin type at https://moodledev.io/docs/apis/plugintypes/format
=== 4.5 ===
* The constructor of core_courseformat\output\local\state\cm has been updated to accept a new optional parameter called is_tracked_user.
If is_tracked_user is pre-computed for this CM's course, it can be provided here to avoid an additional function call.
=== 4.4 === === 4.4 ===
* The core_courseformat\output\local\content\section::export_for_template() is not returning hiddenfromstudents and notavailable * The core_courseformat\output\local\content\section::export_for_template() is not returning hiddenfromstudents and notavailable
directly in the data array anymore. Instead, it returns the visibility data in the 'visibility' key. It means that templates directly in the data array anymore. Instead, it returns the visibility data in the 'visibility' key. It means that templates