mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
email_to_user no longer exists. Using email_to_users instead.
This commit is contained in:
parent
0c3ebaebd3
commit
c31a469cfa
@ -93,7 +93,8 @@ function reset_password_and_mail($user) {
|
||||
|
||||
$subject = "$site->fullname: Changed password";
|
||||
|
||||
return email_to_user($user, $from, $subject, $message);
|
||||
$users[] = $user;
|
||||
return email_to_users($users, $from, $subject, $message);
|
||||
|
||||
}
|
||||
|
||||
|
@ -120,7 +120,8 @@ function send_confirmation_email($user) {
|
||||
|
||||
$subject = "$site->fullname account confirmation";
|
||||
|
||||
return email_to_user($user, $from, $subject, $message);
|
||||
$users[] = $user;
|
||||
return email_to_users($users, $from, $subject, $message);
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user