aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install/database_update.php
diff options
context:
space:
mode:
authorNils Adermann <naderman@naderman.de>2011-01-09 21:09:56 +0100
committerIgor Wiedler <igor@wiedler.ch>2011-01-09 23:49:44 +0100
commit1aef7eb20ee195c7f21d6c5b78653b7c43e669ec (patch)
treeac11043ba149791a225d587e7a61e34db75a04f6 /phpBB/install/database_update.php
parent9329b16ab13f3a4caf107df358c3c58bda2dcd8a (diff)
downloadforums-1aef7eb20ee195c7f21d6c5b78653b7c43e669ec.tar
forums-1aef7eb20ee195c7f21d6c5b78653b7c43e669ec.tar.gz
forums-1aef7eb20ee195c7f21d6c5b78653b7c43e669ec.tar.bz2
forums-1aef7eb20ee195c7f21d6c5b78653b7c43e669ec.tar.xz
forums-1aef7eb20ee195c7f21d6c5b78653b7c43e669ec.zip
[task/acm-refactor] Cleaning up left over mentions of ACM and fixing tests.
PHPBB3-9983
Diffstat (limited to 'phpBB/install/database_update.php')
-rw-r--r--phpBB/install/database_update.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 961edd589f..f73f7472f0 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -95,9 +95,9 @@ $class_loader = new phpbb_class_loader($phpbb_root_path, '.' . $phpEx);
$class_loader->register();
// set up caching
-$acm = phpbb_cache_factory::create($acm_type)->get_acm();
-$class_loader->set_acm($acm);
-$cache = new phpbb_cache_service($acm);
+$cache_factory = new phpbb_cache_factory($acm_type);
+$class_loader->set_cache($cache_factory->get_driver());
+$cache = $cache_factory->get_service();
$request = new phpbb_request();
$user = new user();