Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1376b0d
)
MDL-30698 message: changed message ID to be a hash
author
Andrew Davis
<andrew@moodle.com>
Thu, 16 Feb 2012 10:08:16 +0000
(17:08 +0700)
committer
Andrew Davis
<andrew@moodle.com>
Fri, 17 Feb 2012 02:21:02 +0000
(09:21 +0700)
mod/forum/lib.php
patch
|
blob
|
blame
|
history
diff --git
a/mod/forum/lib.php
b/mod/forum/lib.php
index
5819b43
..
89859ef
100644
(file)
--- 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 '<
moodlepost'.$postid.'to'.$usertoid.'@'.$hostname
.'>';
+ return '<
'.hash('sha256',$postid.'to'.$usertoid.'@'.$hostname)
.'>';
}
/**