Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-63458

Do not display "Send a message" option in course participants list if messaging is disabled site-wide

    XMLWordPrintable

Details

    Description

      This option should not be visible if messaging is disabled in the Moodle site.

       

      Since Moodle 3.5 (to be verified), the "Send a message" feature from the course participants list uses send_instant_messages() from message/externallib.php via ajax. This fails if $CFG->messaging is set to disable messaging on the Moodle site.

      Attachments

        Issue Links

          Activity

            People

              rex Rex Lorenzo
              monidu Nicolas Dunand
              Jun Pataleta Jun Pataleta
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              6 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                9/Sep/19

                Time Tracking

                  Estimated:
                  Original Estimate - 0 minutes
                  0m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m