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

bowersj2 lon-capa-cvs@mail.lon-capa.org
Thu, 07 Aug 2003 14:33:15 -0000


bowersj2		Thu Aug  7 10:33:15 2003 EDT

  Modified files:              
    /loncom/homework	grades.pm 
  Log:
  Remove parm hash and nav hash from grades call.
  
  
Index: loncom/homework/grades.pm
diff -u loncom/homework/grades.pm:1.130 loncom/homework/grades.pm:1.131
--- loncom/homework/grades.pm:1.130	Wed Aug  6 15:32:18 2003
+++ loncom/homework/grades.pm	Thu Aug  7 10:33:15 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # The LON-CAPA Grading handler
 #
-# $Id: grades.pm,v 1.130 2003/08/06 19:32:18 albertel Exp $
+# $Id: grades.pm,v 1.131 2003/08/07 14:33:15 bowersj2 Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3329,7 +3329,7 @@
     my @scanlines=<$scanlines>;
     my $classlist=&Apache::loncoursedata::get_classlist();
     my %idmap=&username_to_idmap($classlist);
-    my $navmap=Apache::lonnavmaps::navmap->new($ENV{'request.course.fn'}.'.db',$ENV{'request.course.fn'}.'_parms.db',1, 1);
+    my $navmap=Apache::lonnavmaps::navmap->new(1, 1);
     my $map=$navmap->getResourceByUrl($sequence);
     my @resources=$navmap->retrieveResources($map,\&scantron_filter,1,0);
     $r->print("geto ".scalar(@resources)."<br />");