diff options
author | Stanislav Atanasov <lucifer@anavaro.com> | 2014-06-11 10:47:12 +0300 |
---|---|---|
committer | Stanislav Atanasov <lucifer@anavaro.com> | 2014-06-22 21:54:51 +0300 |
commit | 9c6f74daff55b46e92e5f84f920ecb1b01728ee2 (patch) | |
tree | 2fca5bf8ea4a66a0bcdd517e7e23b7eacbaa01a0 /phpBB/includes/functions_privmsgs.php | |
parent | e05df3bf3d478a7442698f810b9ad01d872e2310 (diff) | |
download | forums-9c6f74daff55b46e92e5f84f920ecb1b01728ee2.tar forums-9c6f74daff55b46e92e5f84f920ecb1b01728ee2.tar.gz forums-9c6f74daff55b46e92e5f84f920ecb1b01728ee2.tar.bz2 forums-9c6f74daff55b46e92e5f84f920ecb1b01728ee2.tar.xz forums-9c6f74daff55b46e92e5f84f920ecb1b01728ee2.zip |
[ticket/12690] Add other info to core.submit_pm_after
Added $mode
Added $subject
Added $data
Added $pm_data
PHPBB3-12690
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rwxr-xr-x[-rw-r--r--] | phpBB/includes/functions_privmsgs.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php index 2965143055..cfa6ba06c7 100644..100755 --- a/phpBB/includes/functions_privmsgs.php +++ b/phpBB/includes/functions_privmsgs.php @@ -1911,10 +1911,14 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true) * * @event core.submit_pm_after * @var int msg_id message ID + * @var string mode PM Post mode - post|reply|quote|quotepost|forward|edit + * @var string subject Subject of the private message + * @var array data The whole row data of the PM. + * @var array pm_data The data sent to notification class * @since 3.1.0-b5 */ $msg_id = $data['msg_id']; - $vars = array('msg_id'); + $vars = array('msg_id', 'mode', 'subject', 'data', 'pm_data'); extract($phpbb_dispatcher->trigger_event('core.submit_pm_after', compact($vars))); return $data['msg_id']; |