[ticket/12690] Remove $msg_id and chmod

Remove inneded $msg_id
Chmod file to 644

PHPBB3-12690
This commit is contained in:
Stanislav Atanasov 2014-06-11 17:18:52 +03:00
parent 9c6f74daff
commit 85b37a5f4d

4
phpBB/includes/functions_privmsgs.php Executable file → Normal file
View file

@ -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'];