mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/12241] Event to add and/or modify acp_board configurations
PHPBB3-12241
This commit is contained in:
parent
6152d6c41e
commit
6db1a2bfad
1 changed files with 12 additions and 0 deletions
|
@ -455,6 +455,18 @@ class acp_board
|
|||
trigger_error('NO_MODE', E_USER_ERROR);
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Event to add and/or modify acp_board configurations
|
||||
*
|
||||
* @event core.acp_config_edit_add
|
||||
* @since 3.1-A4
|
||||
*/
|
||||
global $phpbb_dispatcher;
|
||||
$vars = array('display_vars', 'mode');
|
||||
extract($phpbb_dispatcher->trigger_event('core.acp_config_edit_add', compact($vars)));
|
||||
|
||||
|
||||
if (isset($display_vars['lang']))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue