mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-16 16:28:53 +00:00
Merge branch '3.2.x'
This commit is contained in:
commit
d3aae52d66
1 changed files with 4 additions and 0 deletions
|
@ -327,6 +327,7 @@ class messenger
|
||||||
|
|
||||||
$subject = $this->subject;
|
$subject = $this->subject;
|
||||||
$message = $this->msg;
|
$message = $this->msg;
|
||||||
|
$template = $this->template;
|
||||||
/**
|
/**
|
||||||
* Event to modify notification message text before parsing
|
* Event to modify notification message text before parsing
|
||||||
*
|
*
|
||||||
|
@ -336,13 +337,16 @@ class messenger
|
||||||
* and the message without sending it
|
* and the message without sending it
|
||||||
* @var string subject The message subject
|
* @var string subject The message subject
|
||||||
* @var string message The message text
|
* @var string message The message text
|
||||||
|
* @var \phpbb\template\template template Template object
|
||||||
* @since 3.1.11-RC1
|
* @since 3.1.11-RC1
|
||||||
|
* @changed 3.2.4-RC1 Added template
|
||||||
*/
|
*/
|
||||||
$vars = array(
|
$vars = array(
|
||||||
'method',
|
'method',
|
||||||
'break',
|
'break',
|
||||||
'subject',
|
'subject',
|
||||||
'message',
|
'message',
|
||||||
|
'template',
|
||||||
);
|
);
|
||||||
extract($phpbb_dispatcher->trigger_event('core.modify_notification_message', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.modify_notification_message', compact($vars)));
|
||||||
$this->subject = $subject;
|
$this->subject = $subject;
|
||||||
|
|
Loading…
Add table
Reference in a new issue