From 5951117ea1ab526ff64afd3e21323c975c22b312 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Thu, 22 Apr 2010 20:23:45 +0200 Subject: [PATCH] These values are initialized to 0, no need to explicitely reset them. --- server_synchronize.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/server_synchronize.php b/server_synchronize.php index b263ba216..7997b682c 100644 --- a/server_synchronize.php +++ b/server_synchronize.php @@ -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