[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm
raeburn
raeburn at source.lon-capa.org
Mon Aug 27 11:33:38 EDT 2012
raeburn Mon Aug 27 15:33:38 2012 EDT
Modified files:
/loncom/interface lonparmset.pm
Log:
- Add the new first arg ($context) to places where &lonnet::write_log() is
called.
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.525 loncom/interface/lonparmset.pm:1.526
--- loncom/interface/lonparmset.pm:1.525 Mon Aug 27 14:33:15 2012
+++ loncom/interface/lonparmset.pm Mon Aug 27 15:33:38 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to set parameters for assessments
#
-# $Id: lonparmset.pm,v 1.525 2012/08/27 14:33:15 raeburn Exp $
+# $Id: lonparmset.pm,v 1.526 2012/08/27 15:33:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4598,10 +4598,10 @@
action => 'reserve',
context => 'parameter',
);
- &Apache::lonnet::write_log('slotreservationslog',\%storehash,
+ &Apache::lonnet::write_log('course','slotreservationslog',\%storehash,
'',$uname,$udom,$cnum,$cdom);
- &Apache::lonnet::write_log($cdom.'_'.$cnum.'_slotlog',\%storehash,
+ &Apache::lonnet::write_log('course',$cdom.'_'.$cnum.'_slotlog',\%storehash,
'',$uname,$udom,$uname,$udom);
}
return $success;
@@ -4632,9 +4632,9 @@
action => 'release',
context => 'parameter',
);
- &Apache::lonnet::write_log('slotreservationslog',\%storehash,
+ &Apache::lonnet::write_log('course','slotreservationslog',\%storehash,
1,$uname,$udom,$cnum,$cdom);
- &Apache::lonnet::write_log($cdom.'_'.$cnum.'_slotlog',\%storehash,
+ &Apache::lonnet::write_log('course',$cdom.'_'.$cnum.'_slotlog',\%storehash,
1,$uname,$udom,$uname,$udom);
}
}
More information about the LON-CAPA-cvs
mailing list