aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-07-16 08:35:10 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-07-16 08:35:10 +0200
commitb002948e211e480023884ec887e69709fccbb9e4 (patch)
treed8cba04c15d6326248e86d4d22e265c09426f366 /phpBB/includes
parent3768f7f2b8ff9dc5915385047e6b195d46de7503 (diff)
parent629a826f5b06e50e3a057cd57320f26102f09d81 (diff)
downloadforums-b002948e211e480023884ec887e69709fccbb9e4.tar
forums-b002948e211e480023884ec887e69709fccbb9e4.tar.gz
forums-b002948e211e480023884ec887e69709fccbb9e4.tar.bz2
forums-b002948e211e480023884ec887e69709fccbb9e4.tar.xz
forums-b002948e211e480023884ec887e69709fccbb9e4.zip
Merge pull request #3755 from RMcGirr83/ticket/14004
[ticket/14004] Add user_info to core event
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/ucp/ucp_pm_viewmessage.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_viewmessage.php b/phpBB/includes/ucp/ucp_pm_viewmessage.php
index d81c4ce7fe..d7b9b32dbf 100644
--- a/phpBB/includes/ucp/ucp_pm_viewmessage.php
+++ b/phpBB/includes/ucp/ucp_pm_viewmessage.php
@@ -265,7 +265,9 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
* @var array message_row Array with message data
* @var array cp_row Array with senders custom profile field data
* @var array msg_data Template array with message data
+ * @var array user_info User data of the sender
* @since 3.1.0-a1
+ * @changed 3.1.6-RC1 Added user_info into event
*/
$vars = array(
'id',
@@ -276,6 +278,7 @@ function view_message($id, $mode, $folder_id, $msg_id, $folder, $message_row)
'message_row',
'cp_row',
'msg_data',
+ 'user_info',
);
extract($phpbb_dispatcher->trigger_event('core.ucp_pm_view_messsage', compact($vars)));