MDL-30698 message: changed message ID to be a hash
This commit is contained in:
+1
-1
@@ -366,7 +366,7 @@ WHERE
|
||||
}
|
||||
|
||||
function forum_get_email_message_id($postid, $usertoid, $hostname) {
|
||||
return '<moodlepost'.$postid.'to'.$usertoid.'@'.$hostname.'>';
|
||||
return '<'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname).'>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user