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

Reduce data fetched by message_search_users

    XMLWordPrintable

Details

    Description

      When searching for non-contacts the messaging API message_search_users method gets data for most of the user fields to check if the user is visible.

      A lot of the data fetched is not needed to check the visibility of the user and is then discarded unused.

      We should reduce the amount of data required to a minimum.

      Note this was originally planned for MDL-63983 but it was late to accept it there (near rolling), so was agreed to create this followup to close the circle.

      Attachments

        Issue Links

          Activity

            People

              nmagill Neill Magill
              nmagill Neill Magill
              Sam Marshall Sam Marshall
              Jun Pataleta Jun Pataleta
              CiBoT CiBoT
              David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo, Matteo Scaramuccia, David Woloszyn, Huong Nguyen, Jake Dallimore, Meirza, Michael Hawkins, Raquel Ortega, Safat Shahin, Stevani Andolo
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                28/Nov/22

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h