mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
bc60052d83
Make indexing of user messages tolerant to user deletion. When creating the search document for user messages, add a check to see if the user has been deleted in the system. If they have been deleted abort creating the search document. This is to avoid rasining an error when trying to get the user context for a deleted user.