mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-03 15:27:42 +02:00
[ticket/17446] Add acp_account_activation_edit_add event
Event added for additional account activation methods. PHPBB-17446
This commit is contained in:
@@ -931,6 +931,18 @@ class acp_board
|
|||||||
);
|
);
|
||||||
|
|
||||||
$act_options = '';
|
$act_options = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Event to add and/or modify account activation configurations
|
||||||
|
*
|
||||||
|
* @event core.acp_account_activation_edit_add
|
||||||
|
* @var array act_ary Array of account activation methods
|
||||||
|
* @var string act_options Options avialbe in the activation method
|
||||||
|
* @since 3.3.15-RC1
|
||||||
|
*/
|
||||||
|
$vars = array('act_ary', 'act_options');
|
||||||
|
extract($phpbb_dispatcher->trigger_event('core.acp_account_activation_edit_add', compact($vars)));
|
||||||
|
|
||||||
foreach ($act_ary as $key => $data)
|
foreach ($act_ary as $key => $data)
|
||||||
{
|
{
|
||||||
list($available, $value) = $data;
|
list($available, $value) = $data;
|
||||||
|
Reference in New Issue
Block a user