MDL-82393 course: Deprecate the $course argument in group_selector

Deprecates the $course parameter in the constructor of the
core_course\output\actionbar\group_selector class. This parameter is no
longer used, as the $course object can now be obtained through the
$context class property. Additionaly, the $course class property has
been removed in accordance with this change.
This commit is contained in:
Mihail Geshoski 2024-07-12 13:50:04 +08:00
parent 02755c4f95
commit b7481cf4aa
6 changed files with 32 additions and 18 deletions

View file

@ -0,0 +1,12 @@
issueNumber: MDL-82393
notes:
core_course:
- message: >-
The $course parameter in the constructor of the
core_course\output\actionbar\group_selector class has been deprecated
and is no longer used.
type: deprecated
- message: >-
The $course class property in the
core_course\output\actionbar\group_selector class has been removed.
type: removed