mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
MDL-44137 group: fix stdClass name
Fix only for new core_group_update_groups webservice.
This commit is contained in:
parent
f6ca9ca691
commit
17af25ce92
@ -1550,7 +1550,7 @@ class core_group_external extends external_api {
|
|||||||
try {
|
try {
|
||||||
self::validate_context($context);
|
self::validate_context($context);
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
$exceptionparam = new sdtClass();
|
$exceptionparam = new stdClass();
|
||||||
$exceptionparam->message = $e->getMessage();
|
$exceptionparam->message = $e->getMessage();
|
||||||
$exceptionparam->courseid = $group->courseid;
|
$exceptionparam->courseid = $group->courseid;
|
||||||
throw new moodle_exception('errorcoursecontextnotvalid', 'webservice', '', $exceptionparam);
|
throw new moodle_exception('errorcoursecontextnotvalid', 'webservice', '', $exceptionparam);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user