mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/14285] Remove no longer needed root_path
PHPBB3-14285
This commit is contained in:
parent
551004a209
commit
fca636ed58
1 changed files with 0 additions and 2 deletions
|
@ -83,8 +83,6 @@ class upload extends \phpbb\avatar\driver\driver
|
|||
*/
|
||||
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();
|
||||
|
||||
return array(
|
||||
'src' => $this->controller_helper->route('phpbb_storage_avatar', ['file' => $row['avatar']]),
|
||||
'width' => $row['avatar_width'],
|
||||
|
|
Loading…
Add table
Reference in a new issue