1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-07 01:06:48 +02:00

[feature/avatars] Only create avatar objects if necessary

PHPBB3-10018
This commit is contained in:
Marc Alexander
2012-11-25 14:33:13 +01:00
parent ce5e2f1677
commit 67c2e48d15
7 changed files with 14 additions and 8 deletions

View File

@@ -128,8 +128,6 @@ $phpbb_subscriber_loader = $phpbb_container->get('event.subscriber_loader');
$template = $phpbb_container->get('template');
$phpbb_style = $phpbb_container->get('style');
$phpbb_avatar_manager = $phpbb_container->get('avatar.manager');
// Add own hook handler
require($phpbb_root_path . 'includes/hooks/index.' . $phpEx);
$phpbb_hook = new phpbb_hook(array('exit_handler', 'phpbb_user_session_handler', 'append_sid', array('phpbb_template', 'display')));