Permalink
Browse files

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

…reeve/moodle into MOODLE_21_STABLE
  • Loading branch information...
Sam Hemelryk
Sam Hemelryk committed Dec 19, 2011
2 parents 4cc0361 + dd9486f commit 490f178f04781e6eabd6a4e3cd4162153fd1c507
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/moodlelib.php
View
@@ -6814,7 +6814,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, '');
}
@@ -6827,7 +6827,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 490f178

Please sign in to comment.