[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm

matthew lon-capa-cvs@mail.lon-capa.org
Tue, 22 Oct 2002 21:49:10 -0000


matthew		Tue Oct 22 17:49:10 2002 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Fix to devalidate so it goes into the proper file to devalidate a students 
  data in the course level spreadsheet.
  <lecture>
  Interestingly enough, this misspelled filename was wrong from the first day 
  it was in the code (march 2001) and remained so until today.  Let this be a 
  reminder to all of us to check our new features to make sure they work.
  </lecture>
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.298 loncom/lonnet/perl/lonnet.pm:1.299
--- loncom/lonnet/perl/lonnet.pm:1.298	Wed Oct 16 10:48:20 2002
+++ loncom/lonnet/perl/lonnet.pm	Tue Oct 22 17:49:10 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.298 2002/10/16 14:48:20 matthew Exp $
+# $Id: lonnet.pm,v 1.299 2002/10/22 21:49:10 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1103,7 +1103,7 @@
     if ($cid) {
 	my $key=$ENV{'user.name'}.':'.$ENV{'user.domain'}.':';
         my $status=
-	    &del('nohist_calculatedsheet',
+	    &del('nohist_calculatedsheets',
 		 [$key.'studentcalc'],
 		 $ENV{'course.'.$cid.'.domain'},
 		 $ENV{'course.'.$cid.'.num'})