mirror of
https://github.com/friendica/friendica
synced 2025-04-26 08:30:10 +00:00
Fix indents
This commit is contained in:
parent
6700467ed4
commit
262c94f12f
5 changed files with 38 additions and 37 deletions
|
@ -264,11 +264,11 @@ class Update
|
|||
$body = $l10n->t("The error message is\n[pre]%s[/pre]", $error_message);
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail($l10n)
|
||||
->withMessage($l10n->t('[Friendica Notify] Database update'), $preamble, $body)
|
||||
->forUser($admin['uid'] ?? 0)
|
||||
->withRecipient($admin['email'])
|
||||
->build();
|
||||
->newSystemMail($l10n)
|
||||
->withMessage($l10n->t('[Friendica Notify] Database update'), $preamble, $body)
|
||||
->forUser($admin['uid'] ?? 0)
|
||||
->withRecipient($admin['email'])
|
||||
->build();
|
||||
DI::emailer()->send($email);
|
||||
}
|
||||
|
||||
|
@ -300,11 +300,11 @@ class Update
|
|||
$from_build, $to_build));
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail($l10n)
|
||||
->withMessage($l10n->t('[Friendica Notify] Database update'), $preamble)
|
||||
->forUser($admin['uid'] ?? 0)
|
||||
->withRecipient($admin['email'])
|
||||
->build();
|
||||
->newSystemMail($l10n)
|
||||
->withMessage($l10n->t('[Friendica Notify] Database update'), $preamble)
|
||||
->forUser($admin['uid'] ?? 0)
|
||||
->withRecipient($admin['email'])
|
||||
->build();
|
||||
DI::emailer()->send($email);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -898,11 +898,11 @@ class User
|
|||
));
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail(DI::l10n())
|
||||
->withMessage(DI::l10n()->t('Registration at %s', $sitename), $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
->build();
|
||||
->newSystemMail(DI::l10n())
|
||||
->withMessage(DI::l10n()->t('Registration at %s', $sitename), $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
->build();
|
||||
return DI::emailer()->send($email);
|
||||
}
|
||||
|
||||
|
@ -966,11 +966,11 @@ class User
|
|||
));
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail($l10n)
|
||||
->withMessage(DI::l10n()->t('Registration details for %s', $sitename), $preamble, $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
->build();
|
||||
->newSystemMail($l10n)
|
||||
->withMessage(DI::l10n()->t('Registration details for %s', $sitename), $preamble, $body)
|
||||
->forUser($user['uid'] ?? 0)
|
||||
->withRecipient($user['email'])
|
||||
->build();
|
||||
return DI::emailer()->send($email);
|
||||
}
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue