mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00:00
[ticket/14747] Add post_data to core.modify_posting_auth
PHPBB3-14747
This commit is contained in:
parent
f008708d5c
commit
64178b40b8
1 changed files with 3 additions and 0 deletions
|
@ -371,7 +371,9 @@ switch ($mode)
|
|||
* NOTE: Should be actual language strings, NOT
|
||||
* language keys.
|
||||
* @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
|
||||
* @changed 3.1.10-RC1 Added post_data
|
||||
*/
|
||||
$vars = array(
|
||||
'post_id',
|
||||
|
@ -387,6 +389,7 @@ $vars = array(
|
|||
'mode',
|
||||
'error',
|
||||
'is_authed',
|
||||
'post_data',
|
||||
);
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_posting_auth', compact($vars)));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue