1441 |
ariadna |
1 |
# customfield_number Upgrade notes
|
|
|
2 |
|
|
|
3 |
## 4.5
|
|
|
4 |
|
|
|
5 |
### Added
|
|
|
6 |
|
|
|
7 |
- A new hook, `\customfield_number\hook\add_custom_providers`, has been added which allows automatic calculation of number course custom field.
|
|
|
8 |
|
|
|
9 |
For more information see [MDL-82715](https://tracker.moodle.org/browse/MDL-82715)
|
|
|
10 |
- A new class, `\customfield_number\local\numberproviders\nofactivities`, has been added that allows to automatically calculate number of activities of a given type in a given course.
|
|
|
11 |
|
|
|
12 |
For more information see [MDL-82715](https://tracker.moodle.org/browse/MDL-82715)
|
|
|
13 |
- Added new webservice `customfield_number_recalculate_value`, has been added to recalculate a value of number course custom field.
|
|
|
14 |
|
|
|
15 |
For more information see [MDL-82715](https://tracker.moodle.org/browse/MDL-82715)
|
|
|
16 |
- A new task, `\customfield_number\task\cron`, cron task that recalculates automatically calculated number course custom fields.
|
|
|
17 |
|
|
|
18 |
For more information see [MDL-82715](https://tracker.moodle.org/browse/MDL-82715)
|