mirror of
https://github.com/friendica/friendica
synced 2025-04-23 09:10:10 +00:00
Remove DI::app() dependency again
This commit is contained in:
parent
0b309245b1
commit
97e708f2e2
5 changed files with 8 additions and 8 deletions
|
@ -898,7 +898,7 @@ class User
|
|||
));
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail(DI::app(), DI::l10n())
|
||||
->newSystemMail(DI::l10n())
|
||||
->withMessage(DI::l10n()->t('Registration at %s', $sitename), $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
|
@ -966,7 +966,7 @@ class User
|
|||
));
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail(DI::app(), $l10n)
|
||||
->newSystemMail($l10n)
|
||||
->withMessage(DI::l10n()->t('Registration details for %s', $sitename), $preamble, $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue