2024-07-12 08:41:57 +07:00
|
|
|
# core_badges (subsystem) Upgrade notes
|
|
|
|
|
2024-10-05 15:08:28 +08:00
|
|
|
## 4.5
|
2024-07-12 08:41:57 +07:00
|
|
|
|
2024-09-27 18:45:07 +07:00
|
|
|
### Added
|
|
|
|
|
2024-10-04 21:03:11 +07:00
|
|
|
- The following new webservices have been added:
|
|
|
|
|
|
|
|
- `core_badges_enable_badges`
|
|
|
|
|
|
|
|
- `core_badges_disable_badges`
|
2024-09-27 18:45:07 +07:00
|
|
|
|
|
|
|
For more information see [MDL-82168](https://tracker.moodle.org/browse/MDL-82168)
|
|
|
|
|
|
|
|
### Changed
|
|
|
|
|
2024-10-04 21:03:11 +07:00
|
|
|
- New fields have been added to the return structure of the `core_badges_get_user_badge_by_hash` and `core_badges_get_user_badges` external functions:
|
|
|
|
- `recipientid`: The ID of the user who received the badge.
|
|
|
|
- `recipientfullname`: The full name of the user who received the badge.
|
2024-09-27 18:45:07 +07:00
|
|
|
|
|
|
|
For more information see [MDL-82742](https://tracker.moodle.org/browse/MDL-82742)
|
|
|
|
|
2024-07-12 08:41:57 +07:00
|
|
|
### Deprecated
|
|
|
|
|
2024-09-27 18:45:07 +07:00
|
|
|
- The `badges/newbadge.php` page has been deprecated and merged with `badges/edit.php`. Please, use `badges/edit.php` instead.
|
2024-07-12 08:41:57 +07:00
|
|
|
|
|
|
|
For more information see [MDL-43938](https://tracker.moodle.org/browse/MDL-43938)
|
2024-09-27 18:45:07 +07:00
|
|
|
- The `OPEN_BADGES_V1` constant is deprecated and should not be used anymore.
|
2024-07-26 13:35:25 +08:00
|
|
|
|
|
|
|
For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983)
|
2024-09-27 18:45:07 +07:00
|
|
|
- The `course_badges` systemreport has been deprecated and merged with the badges systemreport. Please, use the badges systemreport instead.
|
2024-09-07 06:48:52 +08:00
|
|
|
|
|
|
|
For more information see [MDL-82503](https://tracker.moodle.org/browse/MDL-82503)
|
2024-10-04 21:03:11 +07:00
|
|
|
- The `$showmanage` parameter to the `\core_badges\output\standard_action_bar` constructor has been deprecated and should not be used anymore.
|
2024-09-07 06:48:52 +08:00
|
|
|
|
|
|
|
For more information see [MDL-82503](https://tracker.moodle.org/browse/MDL-82503)
|
2024-09-27 18:45:07 +07:00
|
|
|
- The `badges/view.php` page has been deprecated and merged with `badges/index.php`. Please, use `badges/index.php` instead.
|
2024-09-07 06:48:52 +08:00
|
|
|
|
|
|
|
For more information see [MDL-82503](https://tracker.moodle.org/browse/MDL-82503)
|
2024-07-26 13:35:25 +08:00
|
|
|
|
|
|
|
### Removed
|
|
|
|
|
2024-10-04 21:03:11 +07:00
|
|
|
- Final removal of `BADGE_BACKPACKAPIURL` and `BADGE_BACKPACKWEBURL` constants.
|
2024-07-26 13:35:25 +08:00
|
|
|
|
|
|
|
For more information see [MDL-70983](https://tracker.moodle.org/browse/MDL-70983)
|