aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/avatar/driver/upload.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2012-11-25 00:54:34 +0100
committerMarc Alexander <admin@m-a-styles.de>2012-11-25 00:54:34 +0100
commitce44e3908eef5166e5e3e43d2642c5372379b6a6 (patch)
tree3d517a28b448a42bd3b782a35aff75e55f6152ac /phpBB/includes/avatar/driver/upload.php
parent2b917199066cb06aa9c6c846ce06252d6f8036e9 (diff)
downloadforums-ce44e3908eef5166e5e3e43d2642c5372379b6a6.tar
forums-ce44e3908eef5166e5e3e43d2642c5372379b6a6.tar.gz
forums-ce44e3908eef5166e5e3e43d2642c5372379b6a6.tar.bz2
forums-ce44e3908eef5166e5e3e43d2642c5372379b6a6.tar.xz
forums-ce44e3908eef5166e5e3e43d2642c5372379b6a6.zip
[feature/avatars] Remove unnecessary abbreviations
PHPBB3-10018
Diffstat (limited to 'phpBB/includes/avatar/driver/upload.php')
-rw-r--r--phpBB/includes/avatar/driver/upload.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/phpBB/includes/avatar/driver/upload.php b/phpBB/includes/avatar/driver/upload.php
index 77cd81c8c9..9035b5364e 100644
--- a/phpBB/includes/avatar/driver/upload.php
+++ b/phpBB/includes/avatar/driver/upload.php
@@ -56,7 +56,7 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
$template->assign_vars(array(
'S_UPLOAD_AVATAR_URL' => ($this->config['allow_avatar_remote_upload']) ? true : false,
- 'AV_UPLOAD_SIZE' => $this->config['avatar_filesize'],
+ 'AVATAR_UPLOAD_SIZE' => $this->config['avatar_filesize'],
));
return true;
@@ -76,12 +76,12 @@ class phpbb_avatar_driver_upload extends phpbb_avatar_driver
$upload = new fileupload('AVATAR_', array('jpg', 'jpeg', 'gif', 'png'), $this->config['avatar_filesize'], $this->config['avatar_min_width'], $this->config['avatar_min_height'], $this->config['avatar_max_width'], $this->config['avatar_max_height'], (isset($this->config['mime_triggers']) ? explode('|', $this->config['mime_triggers']) : false));
- $url = $this->request->variable('av_upload_url', '');
- $upload_file = $this->request->file('av_upload_file');
+ $url = $this->request->variable('avatar_upload_url', '');
+ $upload_file = $this->request->file('avatar_upload_file');
if (!empty($upload_file['name']))
{
- $file = $upload->form_upload('av_upload_file');
+ $file = $upload->form_upload('avatar_upload_file');
}
else
{