mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-25 19:38:53 +00:00
[ticket/12241] Move $phpbb_dispatcher to the top
PHPBB3-12241
This commit is contained in:
parent
6db1a2bfad
commit
9d87b1a3c7
1 changed files with 1 additions and 2 deletions
|
@ -28,7 +28,7 @@ class acp_board
|
|||
{
|
||||
global $db, $user, $auth, $template;
|
||||
global $config, $phpbb_root_path, $phpbb_admin_path, $phpEx;
|
||||
global $cache, $phpbb_container;
|
||||
global $cache, $phpbb_container, $phpbb_dispatcher;
|
||||
|
||||
$user->add_lang('acp/board');
|
||||
|
||||
|
@ -463,7 +463,6 @@ class acp_board
|
|||
* @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)));
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue