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

Reduce data fetched by message_search_users

    XMLWordPrintable

Details

    • Improvement
    • Status: Waiting for integration review
    • Minor
    • Resolution: Unresolved
    • 4.0
    • None
    • Messages, Performance

    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
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona), Matteo Scaramuccia, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
              Votes:
              3 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated: