mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17299] Allow event to modify email core vars before sending a message
PHPBB3-17299
This commit is contained in:
parent
b2459edaf3
commit
b38e8a2c84
1 changed files with 5 additions and 0 deletions
|
@ -582,6 +582,11 @@ class messenger
|
|||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.notification_message_email', compact($vars)));
|
||||
|
||||
$this->addresses = $addresses;
|
||||
$this->subject = $subject;
|
||||
$this->msg = $msg;
|
||||
unset($addresses, $subject, $msg);
|
||||
|
||||
if ($break)
|
||||
{
|
||||
return true;
|
||||
|
|
Loading…
Add table
Reference in a new issue