MDL-64167 core_message: fix for sending bulk messages from site admin
authorJake Dallimore <jake@moodle.com>
Fri, 23 Nov 2018 02:25:46 +0000 (10:25 +0800)
committerJake Dallimore <jake@moodle.com>
Mon, 26 Nov 2018 00:52:53 +0000 (08:52 +0800)
commitad5de40c497b07399d96a93653c6cc1da439ff7d
treeb89bffb6040c3e1d5a81dc37d431e88974830f4e
parent599703e83dcdb7ba34bfdb486105218bfda75887
MDL-64167 core_message: fix for sending bulk messages from site admin

This ensures the following:
- An admin/manager can send a message to all users, including themself,
without any errors.
lib/classes/message/manager.php