mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-58393 core: Remove firstname argument from emailconfirmation string
This commit is contained in:
parent
b2527be7d3
commit
4772dece1d
@ -609,7 +609,7 @@ $string['emailalreadysent'] = 'A password reset email has already been sent. Ple
|
||||
$string['emailactive'] = 'Email activated';
|
||||
$string['emailagain'] = 'Email (again)';
|
||||
$string['emailconfirm'] = 'Confirm your account';
|
||||
$string['emailconfirmation'] = 'Hi {$a->firstname},
|
||||
$string['emailconfirmation'] = 'Hi,
|
||||
|
||||
A new account has been requested at \'{$a->sitename}\'
|
||||
using your email address.
|
||||
|
@ -6419,7 +6419,6 @@ function send_confirmation_email($user, $confirmationurl = null) {
|
||||
$supportuser = core_user::get_support_user();
|
||||
|
||||
$data = new stdClass();
|
||||
$data->firstname = fullname($user);
|
||||
$data->sitename = format_string($site->fullname);
|
||||
$data->admin = generate_email_signoff();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user