[LON-CAPA-cvs] cvs: loncom /homework bridgetask.pm

raeburn raeburn at source.lon-capa.org
Sun May 18 05:59:57 EDT 2014


raeburn		Sun May 18 09:59:57 2014 EDT

  Modified files:              
    /loncom/homework	bridgetask.pm 
  Log:
  - lonnet::set_first_access() takes interval duration as second arg.
  
  
Index: loncom/homework/bridgetask.pm
diff -u loncom/homework/bridgetask.pm:1.263 loncom/homework/bridgetask.pm:1.264
--- loncom/homework/bridgetask.pm:1.263	Thu Feb 13 18:13:22 2014
+++ loncom/homework/bridgetask.pm	Sun May 18 09:59:57 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA 
 # definition of tags that give a structure to a document
 #
-# $Id: bridgetask.pm,v 1.263 2014/02/13 18:13:22 bisitz Exp $
+# $Id: bridgetask.pm,v 1.264 2014/05/18 09:59:57 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -681,7 +681,7 @@
         $target eq 'tex') {
         if ($env{'form.markaccess'}) {
             my @interval=&Apache::lonnet::EXT("resource.0.interval");
-            &Apache::lonnet::set_first_access($interval[1]);
+            &Apache::lonnet::set_first_access($interval[1],$interval[0]);
         }
     }
 




More information about the LON-CAPA-cvs mailing list