mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +02:00
Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle
This commit is contained in:
commit
a6c4e6f0a6
1 changed files with 2 additions and 2 deletions
|
@ -1708,7 +1708,7 @@ class core_message_external extends external_api {
|
|||
} else {
|
||||
// We have to throw an exception here because the external functions annoyingly
|
||||
// don't accept null to be returned for a single structure.
|
||||
throw new \moodle_exception('Conversation does not exist');
|
||||
throw new \moodle_exception('conversationdoesntexist');
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1813,7 +1813,7 @@ class core_message_external extends external_api {
|
|||
} else {
|
||||
// We have to throw an exception here because the external functions annoyingly
|
||||
// don't accept null to be returned for a single structure.
|
||||
throw new \moodle_exception('Conversation does not exist');
|
||||
throw new \moodle_exception('conversationdoesntexist');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue