--- loncom/interface/lonwhatsnew.pm 2011/03/31 17:54:10 1.103 +++ loncom/interface/lonwhatsnew.pm 2012/03/16 21:16:38 1.105 @@ -1,5 +1,5 @@ # -# $Id: lonwhatsnew.pm,v 1.103 2011/03/31 17:54:10 raeburn Exp $ +# $Id: lonwhatsnew.pm,v 1.105 2012/03/16 21:16:38 www Exp $ # # Copyright Michigan State University Board of Trustees # @@ -999,6 +999,7 @@ sub check_thresholds { $av_attempts = $attempts/$users; $av_attempts = sprintf("%.2f",$av_attempts); } + &Apache::lonnet::statslog($symb,$part,$users,$av_attempts,$degdiff); if ((($degdiff ne '' && $degdiff >= $$threshold{'degdiff'}) || ($av_attempts ne '' && $av_attempts >= $$threshold{'av_attempts'})) && ($users >= $$threshold{'numstudents'})) { $stats{$part}{degdiff} = $degdiff; $stats{$part}{attempts} = $av_attempts; @@ -1434,7 +1435,7 @@ sub checkversions { 'lastrevisiondate'); $revdate = &Apache::lonlocal::locallocaltime($revdate); my $linkurl=&Apache::lonnet::clutter($key); - my $usedversion=$navmap->usedVersion('version_'.$linkurl); + my $usedversion=$navmap->usedVersion($linkurl); my @resources = $navmap->getResourceByUrl($linkurl,1); if (($usedversion) && ($usedversion ne 'mostrecent')) { $version = $usedversion;