MDL-51988 report_particiption: do not allow messaging when disabled
MDL-51988 report_particiption: do not allow messaging when disabled

Previously the option to send messages when presented regardless of the
site setting.

dilawar/moodle