Remove "notice" with new function

This commit is contained in:
Michael 2022-10-17 20:17:25 +00:00
parent 57e9404729
commit 897dbb30cf
10 changed files with 21 additions and 21 deletions

View file

@ -90,9 +90,9 @@ function securemail_settings_post(App &$a, array &$b)
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable);
if ($res) {
info(DI::l10n()->t('Test email sent') . EOL);
DI::sysmsg()->addInfo(DI::l10n()->t('Test email sent') . EOL);
} else {
notice(DI::l10n()->t('There was an error sending the test email') . EOL);
DI::sysmsg()->addNotice(DI::l10n()->t('There was an error sending the test email') . EOL);
}
}
}