[ticket/14747] Add post_data to core.modify_posting_auth

PHPBB3-14747
This commit is contained in:
Jakub Senko 2016-09-02 11:41:43 +02:00
parent f008708d5c
commit 64178b40b8

View file

@ -371,7 +371,9 @@ switch ($mode)
* NOTE: Should be actual language strings, NOT * NOTE: Should be actual language strings, NOT
* language keys. * language keys.
* @var bool is_authed Does the user have the required permissions? * @var bool is_authed Does the user have the required permissions?
* @var array post_data All post data from database
* @since 3.1.3-RC1 * @since 3.1.3-RC1
* @changed 3.1.10-RC1 Added post_data
*/ */
$vars = array( $vars = array(
'post_id', 'post_id',
@ -387,6 +389,7 @@ $vars = array(
'mode', 'mode',
'error', 'error',
'is_authed', 'is_authed',
'post_data',
); );
extract($phpbb_dispatcher->trigger_event('core.modify_posting_auth', compact($vars))); extract($phpbb_dispatcher->trigger_event('core.modify_posting_auth', compact($vars)));