aboutsummaryrefslogtreecommitdiffstats
path: root/upload.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--upload.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/upload.php b/upload.php
index 647eba7c0..6dc69631f 100644
--- a/upload.php
+++ b/upload.php
@@ -198,7 +198,6 @@ if ( isset( $_POST['submit'] ) and !isset( $_GET['waiting_id'] ) )
$result = validate_upload( $path, $conf['upload_maxfilesize'],
$conf['upload_maxwidth'],
$conf['upload_maxheight'] );
- $upload_type = $result['type'];
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
{
array_push( $error, $result['error'][$j] );
@@ -240,7 +239,6 @@ if ( isset( $_POST['submit'] ) and isset( $_GET['waiting_id'] ) )
$result = validate_upload( $path, $conf['upload_maxfilesize'],
$conf['upload_maxwidth_thumbnail'],
$conf['upload_maxheight_thumbnail'] );
- $upload_type = $result['type'];
for ( $j = 0; $j < sizeof( $result['error'] ); $j++ )
{
array_push( $error, $result['error'][$j] );