mirror of
https://github.com/phpbb/phpbb.git
synced 2025-01-17 06:08:19 +01:00
[ticket/16764] Remove more remnants of remote uploading
PHPBB3-16764
This commit is contained in:
parent
0ccce7c4f8
commit
c45c7f4622
@ -1542,11 +1542,6 @@ function phpbb_import_avatar($user_avatar)
|
||||
// Uploaded avatar
|
||||
return import_avatar($user_avatar, false, $convert_row['user_id']);
|
||||
}
|
||||
else if ($convert_row['user_avatar_type'] == 2)
|
||||
{
|
||||
// Remote avatar
|
||||
return $user_avatar;
|
||||
}
|
||||
else if ($convert_row['user_avatar_type'] == 3)
|
||||
{
|
||||
// Gallery avatar
|
||||
|
@ -121,7 +121,6 @@ $lang = array_merge($lang, array(
|
||||
'EDIT_REASON' => 'Reason for editing this post',
|
||||
'EMPTY_FILEUPLOAD' => 'The uploaded file is empty.',
|
||||
'EMPTY_MESSAGE' => 'You must enter a message when posting.',
|
||||
'EMPTY_REMOTE_DATA' => 'File could not be uploaded, please try uploading the file manually.',
|
||||
|
||||
'FLASH_IS_OFF' => '[flash] is <em>OFF</em>',
|
||||
'FLASH_IS_ON' => '[flash] is <em>ON</em>',
|
||||
@ -236,7 +235,6 @@ $lang = array_merge($lang, array(
|
||||
),
|
||||
'QUOTE_NO_NESTING' => 'You may not embed quotes within each other.',
|
||||
|
||||
'REMOTE_UPLOAD_TIMEOUT' => 'The specified file could not be uploaded because the request timed out.',
|
||||
'SAVE' => 'Save',
|
||||
'SAVE_DATE' => 'Saved at',
|
||||
'SAVE_DRAFT' => 'Save draft',
|
||||
|
@ -46,9 +46,6 @@ class upload
|
||||
/** @var string Prefix for language variables of errors */
|
||||
public $error_prefix = '';
|
||||
|
||||
/** @var int Timeout for remote upload */
|
||||
public $upload_timeout = 6;
|
||||
|
||||
/** @var \phpbb\files\factory Files factory */
|
||||
protected $factory;
|
||||
|
||||
|
@ -13,7 +13,7 @@
|
||||
|
||||
namespace phpbb\files\types;
|
||||
|
||||
class foo extends \phpbb\files\types\remote
|
||||
class foo extends \phpbb\files\types\upload
|
||||
{
|
||||
static public $tempnam_path;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user