mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/17446] Add $phpbb_dispatcher and docblock updates
PHPBB-17446
This commit is contained in:
parent
332ecb3d9c
commit
922fde6d53
1 changed files with 8 additions and 8 deletions
|
@ -921,7 +921,7 @@ class acp_board
|
||||||
*/
|
*/
|
||||||
function select_acc_activation($selected_value, $value)
|
function select_acc_activation($selected_value, $value)
|
||||||
{
|
{
|
||||||
global $user, $config;
|
global $user, $config, $phpbb_dispatcher;
|
||||||
|
|
||||||
$act_ary = array(
|
$act_ary = array(
|
||||||
'ACC_DISABLE' => array(true, USER_ACTIVATION_DISABLE),
|
'ACC_DISABLE' => array(true, USER_ACTIVATION_DISABLE),
|
||||||
|
@ -933,13 +933,13 @@ class acp_board
|
||||||
$act_options = '';
|
$act_options = '';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Event to add and/or modify account activation configurations
|
* Event to add and/or modify account activation configurations
|
||||||
*
|
*
|
||||||
* @event core.acp_account_activation_edit_add
|
* @event core.acp_account_activation_edit_add
|
||||||
* @var array act_ary Array of account activation methods
|
* @var array act_ary Array of account activation methods
|
||||||
* @var string act_options Options avialbe in the activation method
|
* @var string act_options Options avialbe in the activation method
|
||||||
* @since 3.3.15-RC1
|
* @since 3.3.15-RC1
|
||||||
*/
|
*/
|
||||||
$vars = ['act_ary', 'act_options'];
|
$vars = ['act_ary', 'act_options'];
|
||||||
extract($phpbb_dispatcher->trigger_event('core.acp_account_activation_edit_add', compact($vars)));
|
extract($phpbb_dispatcher->trigger_event('core.acp_account_activation_edit_add', compact($vars)));
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue