Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle
- Loading branch information
Showing
with
2 additions
and
2 deletions.
-
+2
−2
message/externallib.php
|
@@ -1708,7 +1708,7 @@ public static function get_conversation( |
|
|
} 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 @@ public static function get_conversation_between_users( |
|
|
} 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'); |
|
|
} |
|
|
} |
|
|
|
|
|