Skip to content

Commit

Permalink
MDL-74606 mod_assign: Support multilanguage strings in group names.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsbartel committed Oct 5, 2022
1 parent 6a6344e commit 930a0d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mod/assign/externallib.php
Expand Up @@ -2766,7 +2766,7 @@ public static function list_participants_returns() {
'requiregrading' => new external_value(PARAM_BOOL, 'is their submission waiting for grading'),
'grantedextension' => new external_value(PARAM_BOOL, 'have they been granted an extension'),
'groupid' => new external_value(PARAM_INT, 'for group assignments this is the group id', VALUE_OPTIONAL),
'groupname' => new external_value(PARAM_NOTAGS, 'for group assignments this is the group name', VALUE_OPTIONAL),
'groupname' => new external_value(PARAM_TEXT, 'for group assignments this is the group name', VALUE_OPTIONAL),
];

// Merge keys.
Expand Down Expand Up @@ -2879,7 +2879,7 @@ public static function get_participant_returns() {
'cutoffdate' => new external_value(PARAM_INT, 'cutoffdate for the user'),
'duedatestr' => new external_value(PARAM_TEXT, 'duedate for the user'),
'groupid' => new external_value(PARAM_INT, 'for group assignments this is the group id', VALUE_OPTIONAL),
'groupname' => new external_value(PARAM_NOTAGS, 'for group assignments this is the group name', VALUE_OPTIONAL),
'groupname' => new external_value(PARAM_TEXT, 'for group assignments this is the group name', VALUE_OPTIONAL),
'user' => $userdescription,
));
}
Expand Down

0 comments on commit 930a0d2

Please sign in to comment.