--- loncom/lonnet/perl/lonnet.pm 2018/09/02 23:22:47 1.1172.2.96 +++ loncom/lonnet/perl/lonnet.pm 2018/09/04 20:22:43 1.1172.2.97 @@ -1,7 +1,7 @@ # The LearningOnline Network # TCP networking package # -# $Id: lonnet.pm,v 1.1172.2.96 2018/09/02 23:22:47 raeburn Exp $ +# $Id: lonnet.pm,v 1.1172.2.97 2018/09/04 20:22:43 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -4818,6 +4818,9 @@ sub set_first_access { 'course.'.$courseid.'.timerinterval.'.$res => $interval, } ); + if (($cachedtime) && (abs($start-$cachedtime) < 5)) { + $cachedtimes{"$courseid\0$res"} = $start; + } } return $putres; }