mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
cd0c9ac87d
Changed the messaging API to allow you to provide a parameter that will cause the code to check if the sender of the message has the correct permissions before the message is sent. The ajax messaging (message button on profile page) has been updated to perform these permission checks. This brings it inline with the existing private message page.