1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/13904] Get rid of useless parameters and variables

PHPBB3-13904
This commit is contained in:
Marc Alexander
2015-06-01 13:57:17 +02:00
parent 186b4495b6
commit a96e7a8ec6
3 changed files with 6 additions and 9 deletions

View File

@@ -123,7 +123,7 @@ class upload extends \phpbb\avatar\driver\driver
if (!empty($upload_file['name']))
{
$file = $upload->form_upload('avatar_upload_file', $this->mimetype_guesser);
$file = $upload->form_upload('avatar_upload_file');
}
else if (!empty($this->config['allow_avatar_remote_upload']) && !empty($url))
{
@@ -153,7 +153,7 @@ class upload extends \phpbb\avatar\driver\driver
return false;
}
$file = $upload->remote_upload($url, $this->mimetype_guesser);
$file = $upload->remote_upload($url);
}
else
{