Remove DI::app() dependency again
This commit is contained in:
@@ -42,7 +42,7 @@ function removeme_post(App $a)
|
||||
}
|
||||
|
||||
$email = DI::emailer()
|
||||
->newSystemMail(DI::app(), (!empty($admin['language'])) ? DI::l10n()->withLang($admin['language']) : DI::l10n()->withLang('en'))
|
||||
->newSystemMail((!empty($admin['language'])) ? DI::l10n()->withLang($admin['language']) : DI::l10n()->withLang('en'))
|
||||
->withMessage(DI::l10n()->t('[Friendica System Notify]') . ' ' . DI::l10n()->t('User deleted their account'),
|
||||
DI::l10n()->t('On your Friendica node an user deleted their account. Please ensure that their data is removed from the backups.'),
|
||||
DI::l10n()->t('The user id is %d', local_user()))
|
||||
|
||||
Reference in New Issue
Block a user