forgot to remove the lines that empty the tc_visit table - temporary development...
authorOwen Leonard <owen@balawis.leonard.fam>
Mon, 20 Sep 2010 21:00:16 +0000 (15:00 -0600)
committerOwen Leonard <owen@balawis.leonard.fam>
Mon, 20 Sep 2010 21:00:16 +0000 (15:00 -0600)
bin/import_ward_data

index a9e70c6f3136a709f74afd4ae9fd72b8c4697bb7..e1590b8752f40be924a1acc69f60bfca240f7155 100755 (executable)
@@ -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};