From 076ede089df86b784980e95be11c1064055c7afa Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Sun, 18 May 2008 15:53:27 +0000 Subject: [PATCH] unused variable --- libraries/tbl_replace_fields.inc.php | 2 -- tbl_replace.php | 3 --- 2 files changed, 5 deletions(-) diff --git a/libraries/tbl_replace_fields.inc.php b/libraries/tbl_replace_fields.inc.php index 7577be730..06fdfc057 100644 --- a/libraries/tbl_replace_fields.inc.php +++ b/libraries/tbl_replace_fields.inc.php @@ -53,7 +53,6 @@ if ($file_to_insert->isError()) { $file_to_insert->cleanUp(); if (false !== $possibly_uploaded_val) { - $seen_binary = true; $val = $possibly_uploaded_val; } else { @@ -94,7 +93,6 @@ if (false !== $possibly_uploaded_val) { // blobs where set, insert original fields content. if (! empty($prot_row[$key])) { $val = '0x' . bin2hex($prot_row[$key]); - $seen_binary = true; } else { $val = ''; } diff --git a/tbl_replace.php b/tbl_replace.php index a2f96f7bb..9ca895c1e 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -127,9 +127,6 @@ if (isset($_REQUEST['err_url'])) { $err_url = 'tbl_change.php' . PMA_generate_common_url($url_params); } -// Misc -$seen_binary = false; - /** * Prepares the update/insert of a row */