Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

MDL-33770 Web service: create_groups should not require enrolmentkey

  • Loading branch information...
1 parent 7523da4 commit 18c264790a50dcd959838651a3e8766d3d60c345 @mouneyrac mouneyrac committed with samhemelryk
Showing with 1 addition and 1 deletion.
  1. +1 −1  group/externallib.php
2  group/externallib.php
@@ -53,7 +53,7 @@ public static function create_groups_parameters() {
'name' => new external_value(PARAM_TEXT, 'multilang compatible name, course unique'),
'description' => new external_value(PARAM_RAW, 'group description text'),
'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.'

0 comments on commit 18c2647

Please sign in to comment.
Something went wrong with that request. Please try again.