diff options
author | Igor Wiedler <igor@wiedler.ch> | 2012-04-07 19:19:13 +0200 |
---|---|---|
committer | Igor Wiedler <igor@wiedler.ch> | 2012-04-07 19:20:11 +0200 |
commit | e861bb0e04c08b03366ec7c58473b630acc91181 (patch) | |
tree | d75650cb5d3a262eb3fe79c7842dce0f38b28a56 /phpBB/includes/ucp/ucp_profile.php | |
parent | 3b0e0dba3279a78cab2336d32ee8ff63a7077c5c (diff) | |
download | forums-e861bb0e04c08b03366ec7c58473b630acc91181.tar forums-e861bb0e04c08b03366ec7c58473b630acc91181.tar.gz forums-e861bb0e04c08b03366ec7c58473b630acc91181.tar.bz2 forums-e861bb0e04c08b03366ec7c58473b630acc91181.tar.xz forums-e861bb0e04c08b03366ec7c58473b630acc91181.zip |
[feature/avatars] Use request object in avatar drivers
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/ucp/ucp_profile.php')
-rw-r--r-- | phpBB/includes/ucp/ucp_profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/ucp/ucp_profile.php b/phpBB/includes/ucp/ucp_profile.php index 1c469fa290..ffc6ebf556 100644 --- a/phpBB/includes/ucp/ucp_profile.php +++ b/phpBB/includes/ucp/ucp_profile.php @@ -552,8 +552,8 @@ class ucp_profile if ($config['allow_avatar'] && $auth->acl_get('u_chgavatar')) { - $avatar_manager = new phpbb_avatar_manager($phpbb_root_path, $phpEx, $config, $cache->getDriver()); - + $avatar_manager = new phpbb_avatar_manager($phpbb_root_path, $phpEx, $config, $request, $cache->getDriver()); + $avatar_drivers = $avatar_manager->get_valid_drivers(); sort($avatar_drivers); |