aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2012-03-31 21:20:58 +0200
committerIgor Wiedler <igor@wiedler.ch>2012-03-31 21:20:58 +0200
commitdc9ccc432cd0b24cf762f8285d8a90f52b8efe5b (patch)
tree48c515e004227983761a6ed61c960c25d38c5fa9 /phpBB/common.php
parenta7f61b91b7feec80cd9d544502aef937f036ae7c (diff)
downloadforums-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/common.php')
-rw-r--r--phpBB/common.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index 117dc2051e..51478662d7 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -97,15 +97,11 @@ $container->setParameter('core.root_path', $phpbb_root_path);
$container->setParameter('core.php_ext', $phpEx);
// Setup class loader first
-$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'));
// Instantiate some basic classes
$phpbb_dispatcher = $container->get('dispatcher');
@@ -125,7 +121,6 @@ set_config_count(null, null, null, $config);
// load extensions
$phpbb_extension_manager = $container->get('ext.manager');
$phpbb_subscriber_loader = $container->get('event.subscriber_loader');
-$phpbb_subscriber_loader->load();
$template = $container->get('template');
$style = $container->get('style');