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

matthew lon-capa-cvs@mail.lon-capa.org
Thu, 13 Feb 2003 21:57:49 -0000


matthew		Thu Feb 13 16:57:49 2003 EDT

  Modified files:              
    /loncom/interface	lonspreadsheet.pm 
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  Reordering of parameters for currentdump.
  
  
Index: loncom/interface/lonspreadsheet.pm
diff -u loncom/interface/lonspreadsheet.pm:1.168 loncom/interface/lonspreadsheet.pm:1.169
--- loncom/interface/lonspreadsheet.pm:1.168	Thu Feb 13 14:07:46 2003
+++ loncom/interface/lonspreadsheet.pm	Thu Feb 13 16:57:48 2003
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.168 2003/02/13 19:07:46 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.169 2003/02/13 21:57:48 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3133,9 +3133,9 @@
     my %formulas  = $self->formulas();
     $cachedassess = $self->{'uname'}.':'.$self->{'udom'};
     # Get ALL the student preformance data
-    my @tmp = &Apache::lonnet::currentdump($self->{'uname'},
+    my @tmp = &Apache::lonnet::currentdump($self->{'cid'},
                                            $self->{'udom'},
-                                           $self->{'cid'});
+                                           $self->{'uname'});
     if ((scalar @tmp > 0) && ($tmp[0] !~ /^error:/)) {
         %cachedstores = @tmp;
     }
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.327 loncom/lonnet/perl/lonnet.pm:1.328
--- loncom/lonnet/perl/lonnet.pm:1.327	Thu Feb 13 16:35:50 2003
+++ loncom/lonnet/perl/lonnet.pm	Thu Feb 13 16:57:48 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.327 2003/02/13 21:35:50 albertel Exp $
+# $Id: lonnet.pm,v 1.328 2003/02/13 21:57:48 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1755,7 +1755,7 @@
 
 # --------------------------------------------------------------- currentdump
 sub currentdump {
-   my ($sname,$sdom,$courseid)=@_;
+   my ($courseid,$sdom,$sname)=@_;
    $courseid = $ENV{'request.course.id'} if (! defined($courseid));
    $sdom     = $ENV{'user.domain'}       if (! defined($sdom));
    $sname    = $ENV{'user.name'}         if (! defined($sname));