Hide My Profile Messages
For all users:
- This is set by the configuration value
messaging - You can either update the value of this in the database (
mdl_config) from1to0OR you can add an entry inconfig.phpwhere you set$CFG->messaging = 0;. Alternatively you can use the Site Configuration CLI tool - Clear the moodle cache