MDL-33770 Web service: create_groups should not require enrolmentkey

Conflicts:

	group/externallib.php
This commit is contained in:
Jerome Mouneyrac
2012-06-15 15:20:33 +08:00
parent 4776262f05
commit 463e194c85
+1 -1
View File
@@ -41,7 +41,7 @@ class moodle_group_external extends external_api {
'courseid' => new external_value(PARAM_INT, 'id of course'),
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'),
'description' => new external_value(PARAM_RAW, 'group description text'),
'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.'
)