aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorMatt Friedman <maf675@gmail.com>2015-09-04 13:38:14 -0700
committerMatt Friedman <maf675@gmail.com>2015-09-04 13:38:14 -0700
commit076807c63ab36684dc1dc6039092066a17d5c9b6 (patch)
treea4309f334d22da60dbeea65f8c7b262548bd6616 /phpBB
parent5faa12db4c4c02010e99c65e473024c018928603 (diff)
downloadforums-076807c63ab36684dc1dc6039092066a17d5c9b6.tar
forums-076807c63ab36684dc1dc6039092066a17d5c9b6.tar.gz
forums-076807c63ab36684dc1dc6039092066a17d5c9b6.tar.bz2
forums-076807c63ab36684dc1dc6039092066a17d5c9b6.tar.xz
forums-076807c63ab36684dc1dc6039092066a17d5c9b6.zip
[ticket/14142] Remove unused ignore_configs from avatar drivers
PHPBB3-14142
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/functions.php2
-rw-r--r--phpBB/phpbb/avatar/driver/upload.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index ac25f24ddd..80d6e22bb7 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -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
{
diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php
index a1d84345e1..e44157294c 100644
--- a/phpBB/phpbb/avatar/driver/upload.php
+++ b/phpBB/phpbb/avatar/driver/upload.php
@@ -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();