mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-10 18:38:49 +00:00
Make EMailer util dynamic
This commit is contained in:
parent
1357817fc3
commit
eb18a0d761
2 changed files with 2 additions and 2 deletions
|
@ -116,7 +116,7 @@ function securemail_settings_post(App &$a, array &$b)
|
|||
// enable addon for test
|
||||
DI::pConfig()->set(local_user(), 'securemail', 'enable', 1);
|
||||
|
||||
$res = Emailer::send($params);
|
||||
$res = DI::emailer()->send($params);
|
||||
|
||||
// revert to saved value
|
||||
DI::pConfig()->set(local_user(), 'securemail', 'enable', $enable);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue