aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/avatar
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-06-01 13:57:17 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-09 08:27:40 +0200
commita96e7a8ec6efa483b47dca3395ee2de608cfc675 (patch)
treec4bdf6d31a8190bcd068521714db559185322afc /phpBB/phpbb/avatar
parent186b4495b625a40459618f01784b814a29f98ae0 (diff)
downloadforums-a96e7a8ec6efa483b47dca3395ee2de608cfc675.tar
forums-a96e7a8ec6efa483b47dca3395ee2de608cfc675.tar.gz
forums-a96e7a8ec6efa483b47dca3395ee2de608cfc675.tar.bz2
forums-a96e7a8ec6efa483b47dca3395ee2de608cfc675.tar.xz
forums-a96e7a8ec6efa483b47dca3395ee2de608cfc675.zip
[ticket/13904] Get rid of useless parameters and variables
PHPBB3-13904
Diffstat (limited to 'phpBB/phpbb/avatar')
-rw-r--r--phpBB/phpbb/avatar/driver/upload.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/avatar/driver/upload.php b/phpBB/phpbb/avatar/driver/upload.php
index 4cdb65ce84..d330eadd18 100644
--- a/phpBB/phpbb/avatar/driver/upload.php
+++ b/phpBB/phpbb/avatar/driver/upload.php
@@ -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
{