Commit Graph

4 Commits

Author SHA1 Message Date
Dan Poltawski fb5ce7d351 MDL-40666 enrol|cohort: PARAM_NUMBER -> PARAM_INT
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.
2013-07-16 15:03:03 +08:00
Eloy Lafuente (stronk7) e477f1e45f fix permissions 2013-05-10 17:23:55 +02:00
Damyon Wiese 66d6221f9a MDL-29472: Cohorts webservice - fix numerous access problems and add to the unit tests.
Also allow 'system' as a category type to allow you to create/update system wide cohorts.
2013-05-08 12:56:14 +08:00
Andrea Bicciolo 088645e22c MDL-29472_m WebServices Cohorts 2013-05-03 12:24:40 +02:00