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

matthew lon-capa-cvs@mail.lon-capa.org
Mon, 13 Jan 2003 14:58:28 -0000


matthew		Mon Jan 13 09:58:28 2003 EDT

  Modified files:              
    /loncom/interface	lonspreadsheet.pm 
  Log:
  Removed code which appears verbatim in lonnet::restore.  No sense in doing
  the same thing twice.
  
  
Index: loncom/interface/lonspreadsheet.pm
diff -u loncom/interface/lonspreadsheet.pm:1.160 loncom/interface/lonspreadsheet.pm:1.161
--- loncom/interface/lonspreadsheet.pm:1.160	Mon Jan  6 14:43:01 2003
+++ loncom/interface/lonspreadsheet.pm	Mon Jan 13 09:58:28 2003
@@ -1,5 +1,5 @@
 #
-# $Id: lonspreadsheet.pm,v 1.160 2003/01/06 19:43:01 matthew Exp $
+# $Id: lonspreadsheet.pm,v 1.161 2003/01/13 14:58:28 matthew Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -2563,11 +2563,6 @@
         # restore individual
         #
         %returnhash = &Apache::lonnet::restore($symb,$namespace,$udom,$uname);
-        for (my $version=1;$version<=$returnhash{'version'};$version++) {
-            foreach (split(/\:/,$returnhash{$version.':keys'})) {
-                $returnhash{$_}=$returnhash{$version.':'.$_};
-            } 
-        }
     }
     #
     # returnhash now has all stores for this resource