diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 21:20:58 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 21:20:58 +0200 |
| commit | dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b (patch) | |
| tree | 48c515e004227983761a6ed61c960c25d38c5fa9 /phpBB/install | |
| parent | a7f61b91b7feec80cd9d544502aef937f036ae7c (diff) | |
| download | forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.gz forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.bz2 forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.tar.xz forums-dc9ccc432cd0b24cf762f8285d8a90f52b8efe5b.zip | |
[feature/dic] Make use of calls to cut down on boilerplate
PHPBB3-10739
Diffstat (limited to 'phpBB/install')
| -rw-r--r-- | phpBB/install/index.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/phpBB/install/index.php b/phpBB/install/index.php index 36c10c3ca6..0d7a0a288c 100644 --- a/phpBB/install/index.php +++ b/phpBB/install/index.php @@ -88,15 +88,11 @@ $container->setParameter('core.root_path', $phpbb_root_path); $container->setParameter('core.php_ext', $phpEx); $container->setAlias('cache.driver.install', 'cache.driver'); -$phpbb_class_loader_ext = $container->get('class_loader.ext'); -$phpbb_class_loader_ext->register(); $phpbb_class_loader = $container->get('class_loader'); -$phpbb_class_loader->register(); +$phpbb_class_loader_ext = $container->get('class_loader.ext'); // set up caching $cache = $container->get('cache'); -$phpbb_class_loader_ext->set_cache($container->get('cache.driver')); -$phpbb_class_loader->set_cache($container->get('cache.driver')); $phpbb_dispatcher = $container->get('dispatcher'); $request = $container->get('request'); |
