Review sprintf

remove more sprintf calls
This commit is contained in:
Adam Magness 2018-01-23 21:59:16 -05:00
parent f7e9b74dca
commit 208a149a7b
32 changed files with 205 additions and 188 deletions

View file

@ -532,7 +532,7 @@ class User
return notification([
'type' => SYSTEM_EMAIL,
'to_email' => $email,
'subject'=> sprintf(L10n::t('Registration at %s'), $sitename),
'subject'=> L10n::t('Registration at %s', $sitename),
'body' => $body]);
}
@ -586,7 +586,7 @@ class User
return notification([
'type' => SYSTEM_EMAIL,
'to_email' => $email,
'subject'=> sprintf(L10n::t('Registration details for %s'), $sitename),
'subject'=> L10n::t('Registration details for %s', $sitename),
'preamble'=> $preamble,
'body' => $body]);
}