mirror of
https://github.com/moodle/moodle.git
synced 2025-03-13 20:26:32 +01:00
MDL-34153 mod_forum: create RFC-2822 compliant message-ids
This commit is contained in:
parent
2cbdaa77ea
commit
2e616b543b
@ -383,7 +383,7 @@ WHERE
|
||||
* @return string A unique message-id
|
||||
*/
|
||||
function forum_get_email_message_id($postid, $usertoid, $hostname) {
|
||||
return '<'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname).'>';
|
||||
return '<'.hash('sha256',$postid.'to'.$usertoid).'@'.$hostname.'>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user