aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbrunoais <brunoaiss@gmail.com>2014-08-10 18:51:35 +0100
committerbrunoais <brunoaiss@gmail.com>2014-08-10 18:51:35 +0100
commit1e1efa294ebfc3802cb072c1ef799b676f796aff (patch)
tree522f53dee868ca560de322a040cff299db59f291
parent8880871951cad9fc86326590b9b9e33e5677965c (diff)
downloadforums-1e1efa294ebfc3802cb072c1ef799b676f796aff.tar
forums-1e1efa294ebfc3802cb072c1ef799b676f796aff.tar.gz
forums-1e1efa294ebfc3802cb072c1ef799b676f796aff.tar.bz2
forums-1e1efa294ebfc3802cb072c1ef799b676f796aff.tar.xz
forums-1e1efa294ebfc3802cb072c1ef799b676f796aff.zip
[ticket/12929] Adding more variables to event.
More variables added that may be useful to events at this stage. PHPBB3-12929
-rw-r--r--phpBB/includes/ucp/ucp_pm_compose.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/phpBB/includes/ucp/ucp_pm_compose.php b/phpBB/includes/ucp/ucp_pm_compose.php
index 3ae2abbce2..0458135e03 100644
--- a/phpBB/includes/ucp/ucp_pm_compose.php
+++ b/phpBB/includes/ucp/ucp_pm_compose.php
@@ -241,6 +241,13 @@ function compose_pm($id, $mode, $action, $user_folders = array())
* @var array forum_list List of forums that contain the posts
* @var int visibility_const Integer with one of the possible ITEM_* constant values
* @var int topic_id topic_id in the page request
+ * @var int to_user_id The id of whom the message is to
+ * @var int to_group_id The id of the group whom the message is to
+ * @var bool submit Whether the user is sending the PM or not
+ * @var bool preview Whether the user is previewing the PM or not
+ * @var bool action One of: post, reply, quote, forward, quotepost, edit, delete, smilies
+ * @var bool delete If deleting message
+ * @var int reply_to_all Value of reply_to_all request variable.
* @var string limit_time_sql String with the SQL code to limit the time interval of the post (Note: May be empty string)
* @var string sort_order_sql String with the ORDER BY SQL code used in this query
* @since 3.1.0-RC4
@@ -250,6 +257,13 @@ function compose_pm($id, $mode, $action, $user_folders = array())
'forum_list',
'visibility_const',
'topic_id',
+ 'to_user_id',
+ 'to_group_id',
+ 'submit',
+ 'preview',
+ 'action',
+ 'delete',
+ 'reply_to_all',
'limit_time_sql',
'sort_order_sql',
);