[LON-CAPA-cvs] cvs: loncom /homework grades.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Tue, 09 Apr 2002 03:56:29 -0000
albertel Mon Apr 8 23:56:29 2002 EDT
Modified files:
/loncom/homework grades.pm
Log:
- igot rid of the 1 (in a much earlier version listStudents returned a string to be printed, in a later rewrite it started doing it's own printing, thus no need to print the result of listStudents)
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.19 loncom/homework/grades.pm:1.20
--- loncom/homework/grades.pm:1.19 Sat Apr 6 16:07:08 2002
+++ loncom/homework/grades.pm Mon Apr 8 23:56:29 2002
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Grading handler
#
-# $Id: grades.pm,v 1.19 2002/04/06 21:07:08 www Exp $
+# $Id: grades.pm,v 1.20 2002/04/09 03:56:29 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -423,7 +423,7 @@
} else {
$Apache::grades::viewgrades=&Apache::lonnet::allowed('vgr',$ENV{'request.course.id'});
if ($command eq 'submission') {
- $request->print(&listStudents($request)) if ($ENV{'form.student'} eq '');
+ &listStudents($request) if ($ENV{'form.student'} eq '');
$request->print(&submission($request)) if ($ENV{'form.student'} ne '');
} elsif ($command eq 'viewgrades') {
$request->print(&viewgrades($request));