mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
[ticket/12241] Move $phpbb_dispatcher to the top
PHPBB3-12241
This commit is contained in:
committed by
Joas Schilling
parent
6db1a2bfad
commit
9d87b1a3c7
@@ -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)));
|
||||
|
||||
|
Reference in New Issue
Block a user