Skip to content

Commit

Permalink
MDL-58393 core: Remove firstname argument from emailconfirmation string
Browse files Browse the repository at this point in the history
  • Loading branch information
Mihail Geshoski authored and stronk7 committed Jul 8, 2021
1 parent a19092e commit a84b510
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion lang/en/moodle.php
Expand Up @@ -604,7 +604,7 @@
$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.
Expand Down
1 change: 0 additions & 1 deletion lib/moodlelib.php
Expand Up @@ -6546,7 +6546,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();

Expand Down

0 comments on commit a84b510

Please sign in to comment.