Skip to content

Commit

Permalink
Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
David Monllao committed Nov 19, 2018
2 parents dd2d82e + a28c222 commit a6c4e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message/externallib.php
Expand Up @@ -1708,7 +1708,7 @@ public static function get_conversation(
} else { } else {
// We have to throw an exception here because the external functions annoyingly // We have to throw an exception here because the external functions annoyingly
// don't accept null to be returned for a single structure. // don't accept null to be returned for a single structure.
throw new \moodle_exception('Conversation does not exist'); throw new \moodle_exception('conversationdoesntexist');
} }
} }


Expand Down Expand Up @@ -1813,7 +1813,7 @@ public static function get_conversation_between_users(
} else { } else {
// We have to throw an exception here because the external functions annoyingly // We have to throw an exception here because the external functions annoyingly
// don't accept null to be returned for a single structure. // don't accept null to be returned for a single structure.
throw new \moodle_exception('Conversation does not exist'); throw new \moodle_exception('conversationdoesntexist');
} }
} }


Expand Down

0 comments on commit a6c4e6f

Please sign in to comment.