--- rat/lonuserstate.pm 2006/05/11 23:59:11 1.107.2.2 +++ rat/lonuserstate.pm 2006/05/11 23:54:06 1.110 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Construct and maintain state and binary representation of course for user # -# $Id: lonuserstate.pm,v 1.107.2.2 2006/05/11 23:59:11 albertel Exp $ +# $Id: lonuserstate.pm,v 1.110 2006/05/11 23:54:06 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -545,7 +545,7 @@ sub hiddenurls { sub readmap { my $short=shift; $short=~s/^\///; - my %cenv=&Apache::lonnet::coursedescription($short); + my %cenv=&Apache::lonnet::coursedescription($short,{'freshen_cache'=>1}); my $fn=$cenv{'fn'}; my $uri; $short=~s/\//\_/g; @@ -595,6 +595,7 @@ sub readmap { if ($key=~/^src_/) { $hash{$key}=&putinversion($hash{$key}); } elsif ($key =~ /^(map_(?:start|finish|pc)_)(.*)/) { + &Apache::lonnet::logthis($key); my ($type, $url) = ($1,$2); my $value = $hash{$key}; delete($hash{$key});