mirror of
https://github.com/friendica/friendica
synced 2025-04-27 01:10:14 +00:00
Review sprintf
remove more sprintf calls
This commit is contained in:
parent
f7e9b74dca
commit
208a149a7b
32 changed files with 205 additions and 188 deletions
|
@ -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]);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue