aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-04-24 14:58:27 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-04-24 14:58:27 -0500
commit4becf85f5274bbe861da05917ab466eb072ea600 (patch)
tree657d480611b835e729750f80e147935ba77df95a
parentcc902ddee09c3d516a27c26fbf19af8f772814e6 (diff)
downloadforums-4becf85f5274bbe861da05917ab466eb072ea600.tar
forums-4becf85f5274bbe861da05917ab466eb072ea600.tar.gz
forums-4becf85f5274bbe861da05917ab466eb072ea600.tar.bz2
forums-4becf85f5274bbe861da05917ab466eb072ea600.tar.xz
forums-4becf85f5274bbe861da05917ab466eb072ea600.zip
[ticket/11479] Use phpbb_create_default_container
PHPBB3-11479
-rw-r--r--phpBB/install/install_update.php13
1 files changed, 1 insertions, 12 deletions
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index cf800aefd4..aa1bd0fa35 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -75,18 +75,7 @@ class install_update extends module
global $request, $phpbb_admin_path, $phpbb_adm_relative_path, $phpbb_container;
// Create a normal container now
- $phpbb_container = phpbb_create_dumped_container_unless_debug(
- array(
- new phpbb_di_extension_config($phpbb_root_path . 'config.' . $phpEx),
- new phpbb_di_extension_core($phpbb_root_path),
- ),
- array(
- new phpbb_di_pass_collection_pass(),
- new phpbb_di_pass_kernel_pass(),
- ),
- $phpbb_root_path,
- $phpEx
- );
+ $phpbb_container = phpbb_create_default_container($phpbb_root_path, $phpEx);
// Writes into global $cache
$cache = $phpbb_container->get('cache');