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

              Assignee:
              rex Rex Lorenzo
              Reporter:
              monidu Nicolas Dunand
              Peer reviewer:
              Jun Pataleta
              Integrator:
              Sara Arjona (@sarjona)
              Tester:
              CiBoT
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              6 Vote for this issue
              Watchers:
              10 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                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