mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-02 14:57:37 +02:00
[ticket/12241] Event to add and/or modify acp_board configurations
PHPBB3-12241
This commit is contained in:
committed by
Joas Schilling
parent
6152d6c41e
commit
6db1a2bfad
@@ -455,6 +455,18 @@ class acp_board
|
|||||||
trigger_error('NO_MODE', E_USER_ERROR);
|
trigger_error('NO_MODE', E_USER_ERROR);
|
||||||
break;
|
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']))
|
if (isset($display_vars['lang']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user