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...
commit 32435a6968e9f7214af8cc3e4fe734553bb67b6c 1 parent f8dfdb5
@mouneyrac mouneyrac authored
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.'
Please sign in to comment.
Something went wrong with that request. Please try again.