moodle/lib/classes/message
Eloy Lafuente (stronk7) a29bcf7819 MDL-47162 core_message: debug whenever courseid is missing
Instead of silently defaulting to SITEID when courseid (coming
from message_send()/\core\message\manager::send_message()) is missing,
now a debugging message is shown to allow developers to fix their
messages to, always, include courseid.

Raw creation of events via message_sent::create() missing other[courseid]
leads to coding exception since now (there shouldn't be any legacy use, as far as
they are always created via create_from_ids() when sending a message.

Updated upgrade.txt notes a little bit, added references the 3.6 final
deprecation issue (MDL-55449) and covered with unit tests.
2016-10-28 00:30:02 +02:00
..
inbound MDL-50790 inbound: Stop incorrect amount of lines getting removed. 2015-09-21 14:25:21 +08:00
manager.php MDL-47162 core_message: debug whenever courseid is missing 2016-10-28 00:30:02 +02:00
message.php MDL-47162 core_message: Add course id to message eventdata 2016-10-27 18:11:27 +02:00