--- loncom/metadata_database/parse_activity_log.pl 2005/11/15 20:52:02 1.21 +++ loncom/metadata_database/parse_activity_log.pl 2006/03/30 06:57:50 1.23 @@ -2,7 +2,7 @@ # # The LearningOnline Network # -# $Id: parse_activity_log.pl,v 1.21 2005/11/15 20:52:02 albertel Exp $ +# $Id: parse_activity_log.pl,v 1.23 2006/03/30 06:57:50 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -186,7 +186,7 @@ if (! defined($xmlfile)) { if (!flock(LOCKFILE,LOCK_EX|LOCK_NB)) { warn("Unable to lock $lockfilename. Aborting".$/); # don't call clean_up_and_exit another instance is running and - # we don't want to 'cleanup' there files + # we don't want to 'cleanup' their files exit 6; } @@ -945,9 +945,9 @@ sub xml_store_id_table { ####################################################################### { my @rows; - my $max_row_count = 100; sub store_entry { + my $max_row_count = 100; if (! @_) { undef(@rows); return '';