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

www lon-capa-cvs@mail.lon-capa.org
Wed, 03 Sep 2003 21:31:59 -0000


www		Wed Sep  3 17:31:59 2003 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  Since course number is stored into the resourcedata array, copying it makes
  no sense. Need to selectively move over.
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.33 loncom/interface/loncreatecourse.pm:1.34
--- loncom/interface/loncreatecourse.pm:1.33	Wed Sep  3 17:24:32 2003
+++ loncom/interface/loncreatecourse.pm	Wed Sep  3 17:31:59 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.33 2003/09/03 21:24:32 www Exp $
+# $Id: loncreatecourse.pm,v 1.34 2003/09/03 21:31:59 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -133,7 +133,7 @@
     foreach (&crsdirlist($origcrsid)) {
 	if ($_=~/\.db$/) {
 	    unless 
-             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate)/) {
+             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata)/) {
 		 &copydb($origcrsid,$newcrsid,$_);
 	     }
 	}