Permalink
Browse files

Merge branch 'wip-MDL-28948-MOODLE_20_STABLE' of git://github.com/abg…

…reeve/moodle into MOODLE_20_STABLE
  • Loading branch information...
2 parents b337e7b + 43269b8 commit ffcc16f52a23be39661af96c75ea495a763d25e3 Sam Hemelryk committed Dec 19, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
4 lib/moodlelib.php
@@ -6808,7 +6808,7 @@ protected function prepare_emoticon_object($text, $imagename, $altidentifier = n
* @return string The now encrypted data
*/
function rc4encrypt($data) {
- $password = 'nfgjeingjk';
+ $password = get_site_identifier();
return endecrypt($password, $data, '');
}
@@ -6821,7 +6821,7 @@ function rc4encrypt($data) {
* @return string The now decrypted data
*/
function rc4decrypt($data) {
- $password = 'nfgjeingjk';
+ $password = get_site_identifier();
return endecrypt($password, $data, 'de');
}

0 comments on commit ffcc16f

Please sign in to comment.