From e54816bcf8bee9505f0bfb442d9a32f6a40724dc Mon Sep 17 00:00:00 2001 From: Andrew Davis Date: Thu, 16 Feb 2012 17:08:16 +0700 Subject: [PATCH] MDL-30698 message: changed message ID to be a hash --- mod/forum/lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mod/forum/lib.php b/mod/forum/lib.php index 5819b43605a..89859ef5aa2 100644 --- a/mod/forum/lib.php +++ b/mod/forum/lib.php @@ -366,7 +366,7 @@ WHERE } function forum_get_email_message_id($postid, $usertoid, $hostname) { - return ''; + return '<'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname).'>'; } /** -- 2.43.0