mirror of
https://github.com/moodle/moodle.git
synced 2025-08-07 01:46:45 +02:00
Merge branch 'wip-MDL-28948-MOODLE_22_STABLE' of git://github.com/abgreeve/moodle into MOODLE_22_STABLE
This commit is contained in:
commit
4e77491aff
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue