From b11651e0a8a0ebad0df09753b8f3ddd0eb305ff0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 20 Sep 2010 15:00:16 -0600 Subject: [PATCH] forgot to remove the lines that empty the tc_visit table - temporary development code --- bin/import_ward_data | 2 -- 1 file changed, 2 deletions(-) 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}; -- 2.34.1