[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Tue Sep 4 16:22:44 EDT 2018


raeburn		Tue Sep  4 20:22:44 2018 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - For 2.11
    Backport 1.1365
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.96 loncom/lonnet/perl/lonnet.pm:1.1172.2.97
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.96	Sun Sep  2 23:22:47 2018
+++ loncom/lonnet/perl/lonnet.pm	Tue Sep  4 20:22:43 2018
@@ -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 @@
                         'course.'.$courseid.'.timerinterval.'.$res => $interval,
                      }
                   );
+            if (($cachedtime) && (abs($start-$cachedtime) < 5)) {
+                $cachedtimes{"$courseid\0$res"} = $start;
+            }
         }
         return $putres;
     }




More information about the LON-CAPA-cvs mailing list