These values are initialized to 0, no need to explicitely reset them.

This commit is contained in:
Michal Čihař
2010-04-22 20:23:45 +02:00
parent 9978dddea2
commit 5951117ea1

View File

@@ -291,11 +291,6 @@ if ((isset($_REQUEST['submit_connect']))) {
if (isset($update_array[$i])) {
if (isset($update_array[$i][0][$matching_tables_keys[$i][0]])) {
$num_of_updates = sizeof($update_array[$i]);
} else {
$num_of_updates = 0;
}
} else {
$num_of_updates = 0;
}
/**
* Calculating the number of insertions for each matching table
@@ -303,11 +298,6 @@ if ((isset($_REQUEST['submit_connect']))) {
if (isset($insert_array[$i])) {
if (isset($insert_array[$i][0][$matching_tables_keys[$i][0]])) {
$num_of_insertions = sizeof($insert_array[$i]);
} else {
$num_of_insertions = 0;
}
} else {
$num_of_insertions = 0;
}
/**
* Displays the name of the matching table