mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 02:46:40 +02:00
MDL-33770 Web service: create_groups should not require enrolmentkey
This commit is contained in:
parent
7523da44fc
commit
18c264790a
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class core_group_external extends external_api {
|
||||||
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'),
|
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'),
|
||||||
'description' => new external_value(PARAM_RAW, 'group description text'),
|
'description' => new external_value(PARAM_RAW, 'group description text'),
|
||||||
'descriptionformat' => new external_format_value('description', VALUE_DEFAULT),
|
'descriptionformat' => new external_format_value('description', VALUE_DEFAULT),
|
||||||
'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase'),
|
'enrolmentkey' => new external_value(PARAM_RAW, 'group enrol secret phrase', VALUE_OPTIONAL),
|
||||||
)
|
)
|
||||||
), 'List of group object. A group has a courseid, a name, a description and an enrolment key.'
|
), 'List of group object. A group has a courseid, a name, a description and an enrolment key.'
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue