1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-04 05:25:01 +02:00

Merge pull request #3881 from VSEphpbb/ticket/14142

[ticket/14142] Remove unused ignore_configs from avatar drivers
This commit is contained in:
Marc Alexander 2015-09-08 13:34:58 +02:00
commit 90d5eefccf
2 changed files with 2 additions and 2 deletions

View File

@ -4848,7 +4848,7 @@ function phpbb_get_avatar($row, $alt, $ignore_config = false, $lazy = false)
return $html;
}
$avatar_data = $driver->get_data($row, $ignore_config);
$avatar_data = $driver->get_data($row);
}
else
{

View File

@ -53,7 +53,7 @@ class upload extends \phpbb\avatar\driver\driver
/**
* {@inheritdoc}
*/
public function get_data($row, $ignore_config = false)
public function get_data($row)
{
$root_path = (defined('PHPBB_USE_BOARD_URL_PATH') && PHPBB_USE_BOARD_URL_PATH) ? generate_board_url() . '/' : $this->path_helper->get_web_root_path();