From 810cdb12cbb5c66d9490abd8d3035cd5868792ee Mon Sep 17 00:00:00 2001 From: Huong Nguyen Date: Tue, 30 Apr 2024 09:08:02 +0700 Subject: [PATCH] MDL-81610 course: Update upgrade.txt --- course/format/upgrade.txt | 4 ++++ 1 file changed, 4 insertions(+) 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