projects
/
eq
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7536f56
)
forgot to remove the lines that empty the tc_visit table - temporary development...
author
Owen Leonard
<owen@balawis.leonard.fam>
Mon, 20 Sep 2010 21:00:16 +0000
(15:00 -0600)
committer
Owen Leonard
<owen@balawis.leonard.fam>
Mon, 20 Sep 2010 21:00:16 +0000
(15:00 -0600)
bin/import_ward_data
patch
|
blob
|
history
diff --git
a/bin/import_ward_data
b/bin/import_ward_data
index a9e70c6f3136a709f74afd4ae9fd72b8c4697bb7..e1590b8752f40be924a1acc69f60bfca240f7155 100755
(executable)
--- 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};