Merge pull request #1127 from nupplaphil/bug/friendica-10312
[securemail,phpmailer] Increase priority for securemail over phpmailerpull/1130/head
commit
431607509d
|
@ -20,7 +20,7 @@ require_once __DIR__ . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'a
|
||||||
function phpmailer_install()
|
function phpmailer_install()
|
||||||
{
|
{
|
||||||
Hook::register('load_config' , __FILE__, 'phpmailer_load_config');
|
Hook::register('load_config' , __FILE__, 'phpmailer_load_config');
|
||||||
Hook::register('emailer_send_prepare', __FILE__, 'phpmailer_emailer_send_prepare');
|
Hook::register('emailer_send_prepare', __FILE__, 'phpmailer_emailer_send_prepare', 5);
|
||||||
}
|
}
|
||||||
|
|
||||||
function phpmailer_load_config(App $a, ConfigFileLoader $loader)
|
function phpmailer_load_config(App $a, ConfigFileLoader $loader)
|
||||||
|
|
|
@ -19,9 +19,9 @@ require_once __DIR__ . '/vendor/autoload.php';
|
||||||
function securemail_install()
|
function securemail_install()
|
||||||
{
|
{
|
||||||
Hook::register('addon_settings', 'addon/securemail/securemail.php', 'securemail_settings');
|
Hook::register('addon_settings', 'addon/securemail/securemail.php', 'securemail_settings');
|
||||||
Hook::register('addon_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post');
|
Hook::register('addon_settings_post', 'addon/securemail/securemail.php', 'securemail_settings_post', 10);
|
||||||
|
|
||||||
Hook::register('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare');
|
Hook::register('emailer_send_prepare', 'addon/securemail/securemail.php', 'securemail_emailer_send_prepare', 10);
|
||||||
|
|
||||||
Logger::log('installed securemail');
|
Logger::log('installed securemail');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue