aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_privmsgs.php
diff options
context:
space:
mode:
authorStanislav Atanasov <lucifer@anavaro.com>2014-06-11 17:18:52 +0300
committerStanislav Atanasov <lucifer@anavaro.com>2014-06-22 21:54:51 +0300
commit85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22 (patch)
treeb307f2a657d5d9e13491c86ffda0d98a96adc134 /phpBB/includes/functions_privmsgs.php
parent9c6f74daff55b46e92e5f84f920ecb1b01728ee2 (diff)
downloadforums-85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22.tar
forums-85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22.tar.gz
forums-85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22.tar.bz2
forums-85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22.tar.xz
forums-85b37a5f4d1b0fc6d5aaa15f0e2f5f6b09b9db22.zip
[ticket/12690] Remove $msg_id and chmod
Remove inneded $msg_id Chmod file to 644 PHPBB3-12690
Diffstat (limited to 'phpBB/includes/functions_privmsgs.php')
-rw-r--r--[-rwxr-xr-x]phpBB/includes/functions_privmsgs.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/phpBB/includes/functions_privmsgs.php b/phpBB/includes/functions_privmsgs.php
index cfa6ba06c7..b5a99968d2 100755..100644
--- a/phpBB/includes/functions_privmsgs.php
+++ b/phpBB/includes/functions_privmsgs.php
@@ -1910,15 +1910,13 @@ function submit_pm($mode, $subject, &$data, $put_in_outbox = true)
* Get PM message ID after submission to DB
*
* @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', 'mode', 'subject', 'data', 'pm_data');
+ $vars = array('mode', 'subject', 'data', 'pm_data');
extract($phpbb_dispatcher->trigger_event('core.submit_pm_after', compact($vars)));
return $data['msg_id'];