Skip to content

Commit

Permalink
MDL-33770 Web service: create_groups should not require enrolmentkey
Browse files Browse the repository at this point in the history
Conflicts:

	group/externallib.php
  • Loading branch information
mouneyrac committed Jun 15, 2012
1 parent 4776262 commit 463e194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion group/externallib.php
Expand Up @@ -41,7 +41,7 @@ public static function create_groups_parameters() {
'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.'
)
Expand Down

0 comments on commit 463e194

Please sign in to comment.