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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 15 Nov 2005 20:17:00 -0000


albertel		Tue Nov 15 15:17:00 2005 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  - don't clone the CODEs
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.83 loncom/interface/loncreatecourse.pm:1.84
--- loncom/interface/loncreatecourse.pm:1.83	Fri Nov  4 16:48:30 2005
+++ loncom/interface/loncreatecourse.pm	Tue Nov 15 15:17:00 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.83 2005/11/04 21:48:30 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.84 2005/11/15 20:17:00 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -220,7 +220,7 @@
     foreach (&crsdirlist($origcrsid)) {
 	if ($_=~/\.db$/) {
 	    unless 
-             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|(grading|review)queue)/) {
+             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|(grading|review)queue|CODEs)/) {
 		 &copydb($origcrsid,$newcrsid,$_);
 		 my $histfile=$_;
 		 $histfile=~s/\.db$/\.hist/;