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

raeburn raeburn at source.lon-capa.org
Mon Jul 2 16:34:52 EDT 2018


raeburn		Mon Jul  2 20:34:52 2018 EDT

  Modified files:              
    /loncom/interface	slotrequest.pm 
  Log:
  - Missed in rev. 1.116 changes. 
  - First arg passed to lonnet::write_log() needs to be context called.
    (lonnet.pm rev. 1.1188 change)
  
  
Index: loncom/interface/slotrequest.pm
diff -u loncom/interface/slotrequest.pm:1.138 loncom/interface/slotrequest.pm:1.139
--- loncom/interface/slotrequest.pm:1.138	Sun Jun 24 04:11:08 2018
+++ loncom/interface/slotrequest.pm	Mon Jul  2 20:34:52 2018
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler for requesting to have slots added to a students record
 #
-# $Id: slotrequest.pm,v 1.138 2018/06/24 04:11:08 raeburn Exp $
+# $Id: slotrequest.pm,v 1.139 2018/07/02 20:34:52 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -841,10 +841,10 @@
                                action  => 'release',
                                context => $env{'form.context'},
                         );
-            &Apache::lonnet::write_log('slotreservationslog',\%storehash,
-                                       1,$uname,$udom,$cnum,$cdom);
-            &Apache::lonnet::write_log($cdom.'_'.$cnum.'_slotlog',\%storehash,
-                                       1,$uname,$udom,$uname,$udom);
+            &Apache::lonnet::write_log('course','slotreservationslog',
+                                       \%storehash,1,$uname,$udom,$cnum,$cdom);
+            &Apache::lonnet::write_log('course',$cdom.'_'.$cnum.'_slotlog',
+                                       \%storehash,1,$uname,$udom,$uname,$udom);
 	}
     }
 




More information about the LON-CAPA-cvs mailing list