Permalink
Browse files

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

  • Loading branch information...
andyjdavis committed Feb 16, 2012
1 parent 1376b0d commit e54816bcf8bee9505f0bfb442d9a32f6a40724dc
Showing with 1 addition and 1 deletion.
  1. +1 −1 mod/forum/lib.php
View
@@ -366,7 +366,7 @@ function forum_get_completion_state($course,$cm,$userid,$type) {
}
function forum_get_email_message_id($postid, $usertoid, $hostname) {
- return '<moodlepost'.$postid.'to'.$usertoid.'@'.$hostname.'>';
+ return '<'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname).'>';
}
/**

0 comments on commit e54816b

Please sign in to comment.