mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-19 07:08:09 +01:00
Merge pull request #4433 from Senky/ticket/14747
[ticket/14747] Add post_data to core.modify_posting_auth
This commit is contained in:
commit
3910387ee5
@ -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…
x
Reference in New Issue
Block a user