diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-05-20 17:41:43 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-05-29 02:14:46 +0200 |
commit | 81f22a1c8e4e67d83a9308ad832db3c96a835798 (patch) | |
tree | 246ab3bc1065d2ac4d665764f0f40b4483dba4f0 /phpBB/includes | |
parent | 8e48840034aa0a00fc31f577d409663a529845f0 (diff) | |
download | forums-81f22a1c8e4e67d83a9308ad832db3c96a835798.tar forums-81f22a1c8e4e67d83a9308ad832db3c96a835798.tar.gz forums-81f22a1c8e4e67d83a9308ad832db3c96a835798.tar.bz2 forums-81f22a1c8e4e67d83a9308ad832db3c96a835798.tar.xz forums-81f22a1c8e4e67d83a9308ad832db3c96a835798.zip |
[ticket/10073] Get service from container
PHPBB3-10073
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/acp/acp_contact.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/acp/acp_contact.php b/phpBB/includes/acp/acp_contact.php index 9abc901e54..c681018efd 100644 --- a/phpBB/includes/acp/acp_contact.php +++ b/phpBB/includes/acp/acp_contact.php @@ -24,7 +24,7 @@ class acp_contact public function main($id, $mode) { global $db, $user, $request, $template; - global $config, $phpbb_root_path, $phpEx; + global $config, $phpbb_root_path, $phpEx, $phpbb_container; $user->add_lang(array('acp/board', 'posting')); @@ -43,7 +43,7 @@ class acp_contact include($phpbb_root_path . 'includes/message_parser.' . $phpEx); } - $config_text = new \phpbb\config\db_text($db, CONFIG_TEXT_TABLE); + $config_text = $phpbb_container->get('config_text'); $contact_admin_info = $request->variable('contact_admin_info', $config_text->get('contact_admin_info'), true); $contact_admin_info_uid = $config['contact_admin_info_uid']; |