mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 05:58:34 +01:00
fb5ce7d351
PARAM_NUMBER is a float, our id's are int's * Fix core_cohort_get_cohorts to specify correct return type on cohort id * Fix core_enrol_get_enrolled_users_with_capability to specify correct correct return type on user id * Fix core_cohort_update_cohorts to specify the right parameter type (int) on cohort id * Add tests to verify the bug on core_cohort_update_cohorts param type.
10 lines
479 B
Plaintext
10 lines
479 B
Plaintext
This files describes API changes in /cohort/ information provided here is intended
|
|
especially for developers.
|
|
|
|
=== 2.6 ===
|
|
* Webservice core_cohort_update_cohorts was incorrectly specifiying float as the parameter type
|
|
for cohort id. This field is actually int and input is now reported and processed as such.
|
|
* Webservice core_cohort_get_cohorts was incorrectly specifiying float as the return
|
|
type for cohort id. The actual return type is int and is now reported as such.
|
|
|