Merge branch 'wip-MDL-28948-master' of git://github.com/abgreeve/moodle

This commit is contained in:
Sam Hemelryk
2011-12-20 10:44:41 +13:00
+2 -2
View File
@@ -7217,7 +7217,7 @@ class emoticon_manager {
* @return string The now encrypted data
*/
function rc4encrypt($data) {
$password = 'nfgjeingjk';
$password = get_site_identifier();
return endecrypt($password, $data, '');
}
@@ -7230,7 +7230,7 @@ function rc4encrypt($data) {
* @return string The now decrypted data
*/
function rc4decrypt($data) {
$password = 'nfgjeingjk';
$password = get_site_identifier();
return endecrypt($password, $data, 'de');
}