From: Owen Leonard <owen@balawis.leonard.fam>
Date: Mon, 20 Sep 2010 21:00:16 +0000 (-0600)
Subject: forgot to remove the lines that empty the tc_visit table - temporary development... 
X-Git-Tag: release_1_0_0~10
X-Git-Url: http://git.pippins.net/%7Bedit%7D?a=commitdiff_plain;h=b11651e0a8a0ebad0df09753b8f3ddd0eb305ff0;p=eq%2F.git

forgot to remove the lines that empty the tc_visit table - temporary development code
---

diff --git a/bin/import_ward_data b/bin/import_ward_data
index a9e70c6..e1590b8 100755
--- a/bin/import_ward_data
+++ b/bin/import_ward_data
@@ -402,8 +402,6 @@ sub update_tc_visit_table
 	($second, $minute, $hour, $dayOfMonth, $month, $yearOffset, $dayOfWeek, $dayOfYear, $daylightSavings) = localtime();
 	my %visit_status = ('X', 'y', '-', 'n', '', '');
 	
-	$sth = $dbh->prepare("TRUNCATE TABLE tc_visit");
-	$sth->execute or die "-E- DB error: $DBI::errstr\n";
 	foreach $index (keys %hometeaching_stats_data)
 	{
 		$hashref = $hometeaching_stats_data{$index};