mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-18 22:58:10 +01:00
[ticket/12241] Event to add and/or modify acp_board configurations
PHPBB3-12241
This commit is contained in:
parent
6152d6c41e
commit
6db1a2bfad
@ -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…
x
Reference in New Issue
Block a user