Merge branch 'MDL-83795-404' of https://github.com/junpataleta/moodle into MOODLE_404_STABLE

This commit is contained in:
Huong Nguyen 2024-11-26 12:03:22 +07:00
commit ef09179d1e
No known key found for this signature in database
GPG Key ID: 40D88AB693A3E72A
2 changed files with 5 additions and 8 deletions

View File

@ -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

View File

@ -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.