mirror of
https://github.com/moodle/moodle.git
synced 2025-01-31 12:45:04 +01:00
MDL-64715 core_message: Fix for message upgrade db prefix.
This commit is contained in:
parent
9f23a65e0c
commit
eae20bc94a
@ -3134,7 +3134,7 @@ function xmldb_main_upgrade($oldversion) {
|
||||
FROM {user} u
|
||||
WHERE u.id NOT IN (SELECT mcm.userid
|
||||
FROM {message_conversation_members} mcm
|
||||
INNER JOIN mdl_message_conversations mc
|
||||
INNER JOIN {message_conversations} mc
|
||||
ON mc.id = mcm.conversationid AND mc.type = ?
|
||||
)";
|
||||
$useridsrs = $DB->get_recordset_sql($sql, [\core_message\api::MESSAGE_CONVERSATION_TYPE_SELF]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user