MDL-63466 core_message: don't reorder messages when formatting
authorJake Dallimore <jake@moodle.com>
Fri, 26 Oct 2018 04:26:23 +0000 (12:26 +0800)
committerJake Dallimore <jake@moodle.com>
Fri, 26 Oct 2018 04:26:23 +0000 (12:26 +0800)
commitb95e4c786c0ac8c0b97c02b6ad201eec7504fc71
treee92767f1adbca0bd7ff8326f7c92e201628a04a4
parentd1e8e69d8579f9075e917760e9f709d214ab305c
MDL-63466 core_message: don't reorder messages when formatting

- Removed the reordering code from helper::get_conversation_messages()
- Added unit test confirming sort param behaviour for the
api::get_conversations_messages() method.
message/classes/helper.php
message/tests/api_test.php