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

www lon-capa-cvs@mail.lon-capa.org
Thu, 22 Jun 2006 11:26:00 -0000


www		Thu Jun 22 07:26:00 2006 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  Bug #4830: don't create spurious "hist" files in the userfiles directory.
  The hist-file gets created during copydb, and - while not really historical - is valid
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.91 loncom/interface/loncreatecourse.pm:1.92
--- loncom/interface/loncreatecourse.pm:1.91	Sat Jun  3 17:05:04 2006
+++ loncom/interface/loncreatecourse.pm	Thu Jun 22 07:25:56 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.91 2006/06/03 21:05:04 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.92 2006/06/22 11:25:56 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -238,9 +238,6 @@
 	    unless 
              ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|gradingqueue|reviewqueue|CODEs)/) {
 		 &copydb($origcrsid,$newcrsid,$_);
-		 my $histfile=$_;
-		 $histfile=~s/\.db$/\.hist/;
-		 &copyfile($origcrsid,$newcrsid,$histfile);
 	     }
 	}
     }