Permalink
Browse files

Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle

  • Loading branch information...
dmonllao committed Nov 19, 2018
2 parents dd2d82e + a28c222 commit a6c4e6f0a67a32314b79353911c44f172660afd6
Showing with 2 additions and 2 deletions.
  1. +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');
}
}

0 comments on commit a6c4e6f

Please sign in to comment.