mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
MDL-58393 core: Remove firstname argument from emailconfirmation string
This commit is contained in:
parent
a19092e71c
commit
a84b51046a
2 changed files with 1 additions and 2 deletions
|
@ -604,7 +604,7 @@ $string['emailalreadysent'] = 'A password reset email has already been sent. Ple
|
||||||
$string['emailactive'] = 'Email activated';
|
$string['emailactive'] = 'Email activated';
|
||||||
$string['emailagain'] = 'Email (again)';
|
$string['emailagain'] = 'Email (again)';
|
||||||
$string['emailconfirm'] = 'Confirm your account';
|
$string['emailconfirm'] = 'Confirm your account';
|
||||||
$string['emailconfirmation'] = 'Hi {$a->firstname},
|
$string['emailconfirmation'] = 'Hi,
|
||||||
|
|
||||||
A new account has been requested at \'{$a->sitename}\'
|
A new account has been requested at \'{$a->sitename}\'
|
||||||
using your email address.
|
using your email address.
|
||||||
|
|
|
@ -6546,7 +6546,6 @@ function send_confirmation_email($user, $confirmationurl = null) {
|
||||||
$supportuser = core_user::get_support_user();
|
$supportuser = core_user::get_support_user();
|
||||||
|
|
||||||
$data = new stdClass();
|
$data = new stdClass();
|
||||||
$data->firstname = fullname($user);
|
|
||||||
$data->sitename = format_string($site->fullname);
|
$data->sitename = format_string($site->fullname);
|
||||||
$data->admin = generate_email_signoff();
|
$data->admin = generate_email_signoff();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue