diff --git a/course/format/upgrade.txt b/course/format/upgrade.txt index 30b991377ce..258890ea7c9 100644 --- a/course/format/upgrade.txt +++ b/course/format/upgrade.txt @@ -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 +=== 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 === * 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