MDL-65313 core_message: remove favourites when deleting a conversation
authorJake Dallimore <jake@moodle.com>
Wed, 10 Apr 2019 00:29:43 +0000 (08:29 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 6 May 2019 06:01:34 +0000 (14:01 +0800)
commit6421775ad2a7d601d78f1c611f902f815fc36996
treef3271eaccc3e5650bee043040bf2093e37f51ac7
parentf962859b5603370825f7002a4ce0aafd19398a70
MDL-65313 core_message: remove favourites when deleting a conversation

When deleting a conversation for all users (e.g. when deleting a group
which has a conversation), we need to remove any favourites.
message/classes/api.php
message/tests/api_test.php