From 86e2e5882e208d6ae77e14b3691e80604af99203 Mon Sep 17 00:00:00 2001 From: Jun Pataleta Date: Fri, 22 Nov 2024 23:51:24 +0800 Subject: [PATCH] MDL-83795 courseformat: Move upgrade notes to upgrade.txt --- .upgradenotes/MDL-83185-2024103109015923.yml | 8 -------- course/format/upgrade.txt | 5 +++++ 2 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 .upgradenotes/MDL-83185-2024103109015923.yml diff --git a/.upgradenotes/MDL-83185-2024103109015923.yml b/.upgradenotes/MDL-83185-2024103109015923.yml deleted file mode 100644 index 45cb74fae99..00000000000 --- a/.upgradenotes/MDL-83185-2024103109015923.yml +++ /dev/null @@ -1,8 +0,0 @@ -issueNumber: MDL-83185 -notes: - core_courseformat: - - message: >- - Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. - This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current user - in case the change in the course should be reflected for all users. - type: improved diff --git a/course/format/upgrade.txt b/course/format/upgrade.txt index 4e2ae08aece..00cbd6d946f 100644 --- a/course/format/upgrade.txt +++ b/course/format/upgrade.txt @@ -2,6 +2,11 @@ This files describes API changes for course formats Overview of this plugin type at https://moodledev.io/docs/apis/plugintypes/format +=== 4.4.5 === +* Add core_courseformat\base::invalidate_all_session_caches to reset course editor cache for all users when course is changed. + This method can be used as an alternative to core_courseformat\base::session_cache_reset for resetting the cache for the current + user in case the change in the course should be reflected for all users. + === 4.4.1 === * 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.