[securemail] template adapted to standard #1142

Merged
Tealk merged 4 commits from secure-mail into 2021.06-rc 2021-07-01 03:22:20 +02:00
Showing only changes of commit d86ad302e3 - Show all commits

View file

@ -77,7 +77,7 @@ function securemail_settings_post(App &$a, array &$b)
$enable = (!empty($_POST['securemail-enable']) ? 1 : 0); $enable = (!empty($_POST['securemail-enable']) ? 1 : 0);
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable); DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable);
if ($_POST['securemail-submit'] == "test" { if ($_POST['securemail-submit'] == 'test' {
$res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl())); $res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl()));