[LON-CAPA-cvs] cvs: loncom /interface lonnavmaps.pm

raeburn raeburn at source.lon-capa.org
Mon Nov 17 22:33:53 EST 2014


raeburn		Tue Nov 18 03:33:53 2014 EDT

  Modified files:              
    /loncom/interface	lonnavmaps.pm 
  Log:
  - &check_for_slot()
    - RESERVED_LOCATION (user's current IP does not match required IP range).
      Second item returned should be slot end time, not required IP.
  
  
Index: loncom/interface/lonnavmaps.pm
diff -u loncom/interface/lonnavmaps.pm:1.502 loncom/interface/lonnavmaps.pm:1.503
--- loncom/interface/lonnavmaps.pm:1.502	Fri Sep 26 17:56:02 2014
+++ loncom/interface/lonnavmaps.pm	Tue Nov 18 03:33:53 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Navigate Maps Handler
 #
-# $Id: lonnavmaps.pm,v 1.502 2014/09/26 17:56:02 raeburn Exp $
+# $Id: lonnavmaps.pm,v 1.503 2014/11/18 03:33:53 raeburn Exp $
 
 #
 # Copyright Michigan State University Board of Trustees
@@ -5402,7 +5402,7 @@
                         } else {
                             if ($ip ne '') {
                                 if (!&Apache::loncommon::check_ip_acc($ip)) {
-                                    return (RESERVED_LOCATION,$ip,$slot_name);
+                                    return (RESERVED_LOCATION,$end,$slot_name);
                                 }
                             }
                             my @proctors;




More information about the LON-CAPA-cvs mailing list