aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/download/file.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/download/file.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/download/file.php')
-rw-r--r--phpBB/download/file.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/phpBB/download/file.php b/phpBB/download/file.php
index bc7042fbc8..eabb6edbbb 100644
--- a/phpBB/download/file.php
+++ b/phpBB/download/file.php
@@ -52,15 +52,11 @@ if (isset($_GET['avatar']))
$container->setParameter('core.root_path', $phpbb_root_path);
$container->setParameter('core.php_ext', $phpEx);
- $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');
@@ -82,7 +78,6 @@ if (isset($_GET['avatar']))
// load extensions
$phpbb_extension_manager = $container->get('ext.manager');
$phpbb_subscriber_loader = $container->get('event.subscriber_loader');
- $phpbb_subscriber_loader->load();
// worst-case default
$browser = strtolower($request->header('User-Agent', 'msie 6.0'));