MDL-30698 message: changed message ID to be a hash

This commit is contained in:
Andrew Davis
2012-02-17 09:21:02 +07:00
parent 1376b0ddf8
commit e54816bcf8
+1 -1
View File
@@ -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).'>';
}
/**