Skip to content

Commit a6c4e6f

Browse files
author
David Monllao
committed
Merge branch 'MDL-64060-master' of git://github.com/jleyva/moodle
2 parents dd2d82e + a28c222 commit a6c4e6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

message/externallib.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1708,7 +1708,7 @@ public static function get_conversation(
17081708
} else {
17091709
// We have to throw an exception here because the external functions annoyingly
17101710
// don't accept null to be returned for a single structure.
1711-
throw new \moodle_exception('Conversation does not exist');
1711+
throw new \moodle_exception('conversationdoesntexist');
17121712
}
17131713
}
17141714

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

0 commit comments

Comments
 (0)