mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-13811 Merged mailstop fix from 1.9
This commit is contained in:
parent
210a02693d
commit
17a0ab80ed
1 changed files with 1 additions and 0 deletions
|
@ -149,6 +149,7 @@
|
|||
if ($email_changed && $CFG->emailchangeconfirmation) {
|
||||
$temp_user = fullclone($user);
|
||||
$temp_user->email = $usernew->preference_newemail;
|
||||
$temp_user->emailstop = NULL;
|
||||
|
||||
$a = new stdClass();
|
||||
$a->url = $CFG->wwwroot . '/user/emailupdate.php?key=' . $usernew->preference_newemailkey . '&id=' . $user->id;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue