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

Search: Remove support for add_documents function with 5 return values deprecated in Moodle 3.10

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 3.10
    • Fix Version/s: None
    • Component/s: Global search
    • Labels:

      Description

      The change in MDL-68690 means the add_documents function in search engine plugins is expected to return 6 values. There is backwards compatibility for 5 return values in two places (the index and index_context functions in search/classes/manager.php) which should be deleted in Moodle 4.2.

      Note: I have currently added this as a subtask of my main item, it should be moved to a sub-task of the epic for deprecations in 4.2, but this doesn't exist yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              quen Sam Marshall
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: