Merge pull request 'Remove unused App paramter in securemail addon' (#1571) from MrPetovan/friendica-addons:bug/Art4-1365 into develop

Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1571
develop
heluecht 2024-11-24 10:16:25 +01:00
commit 3a5acf95f7
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function securemail_settings_post(array &$b)
DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'securemail', 'enable', $enable); DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'securemail', 'enable', $enable);
if (!empty($_POST['securemail-test'])) { if (!empty($_POST['securemail-test'])) {
$res = DI::emailer()->send(new SecureTestEmail(DI::app(), DI::config(), DI::pConfig(), DI::baseUrl())); $res = DI::emailer()->send(new SecureTestEmail(DI::config(), DI::pConfig(), DI::baseUrl()));
// revert to saved value // revert to saved value
DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'securemail', 'enable', $enable); DI::pConfig()->set(DI::userSession()->getLocalUserId(), 'securemail', 'enable', $enable);