From 8978594d6d9c92be3a35f2adec138516df3670f0 Mon Sep 17 00:00:00 2001 From: Kailey M Snay Date: Fri, 29 Nov 2024 15:45:42 -0500 Subject: [PATCH] [ticket/17446] Add acp_account_activation_edit_add event Event added for additional account activation methods. PHPBB-17446 --- phpBB/includes/acp/acp_board.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/phpBB/includes/acp/acp_board.php b/phpBB/includes/acp/acp_board.php index bfc2c0b97f..336c22d354 100644 --- a/phpBB/includes/acp/acp_board.php +++ b/phpBB/includes/acp/acp_board.php @@ -931,6 +931,18 @@ class acp_board ); $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) { list($available, $value) = $data;