[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 16 Aug 2006 18:07:25 -0000
albertel Wed Aug 16 14:07:25 2006 EDT
Modified files:
/loncom/homework grades.pm
Log:
- include the courseid in the handback lock
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.371 loncom/homework/grades.pm:1.372
--- loncom/homework/grades.pm:1.371 Wed Aug 16 14:06:36 2006
+++ loncom/homework/grades.pm Wed Aug 16 14:07:25 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.371 2006/08/16 18:06:36 albertel Exp $
+# $Id: grades.pm,v 1.372 2006/08/16 18:07:25 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2466,7 +2466,7 @@
} else {
# mark the file as read only
my @files = ($save_file_name);
- my @what = ($symb,'handback');
+ my @what = ($symb,$env{'request.course.id'},'handback');
&Apache::lonnet::mark_as_readonly($domain,$stuname,\@files,\@what);
if (exists($$newrecord{"resource.$new_part.$resp_id.handback"})) {
$$newrecord{"resource.$new_part.$resp_id.handback"}.=',';