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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 04 Nov 2005 21:48:30 -0000


albertel		Fri Nov  4 16:48:30 2005 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  - remove slots and grading queues from the cloning process
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.82 loncom/interface/loncreatecourse.pm:1.83
--- loncom/interface/loncreatecourse.pm:1.82	Fri Nov  4 16:17:18 2005
+++ loncom/interface/loncreatecourse.pm	Fri Nov  4 16:48:30 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.82 2005/11/04 21:17:18 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.83 2005/11/04 21:48:30 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)/) {
+             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|(grading|review)queue)/) {
 		 &copydb($origcrsid,$newcrsid,$_);
 		 my $histfile=$_;
 		 $histfile=~s/\.db$/\.hist/;