Fix indents

This commit is contained in:
nupplaPhil 2020-02-02 09:22:30 +01:00
parent 6700467ed4
commit 262c94f12f
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
5 changed files with 38 additions and 37 deletions

View file

@ -77,11 +77,11 @@ class Users extends BaseAdmin
$body = sprintf($body, DI::baseUrl()->get(), $user['nickname'], $result['password'], DI::config()->get('config', 'sitename'));
$email = DI::emailer()
->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n())
->withMessage(DI::l10n()->t('Registration details for %s', DI::config()->get('config', 'sitename')), $preamble, $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n())
->withMessage(DI::l10n()->t('Registration details for %s', DI::config()->get('config', 'sitename')), $preamble, $body)
->forUser($user['uid'] ?? 0)
->withRecipient($user['email'])
->build();
return DI::emailer()->send($email);
}