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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 16 Apr 2004 13:33:41 -0000


albertel		Fri Apr 16 09:33:41 2004 EDT

  Modified files:              
    /loncom/interface	loncreatecourse.pm 
  Log:
  - need to delete default  enrollment dates when cloning a course.
  
  
  
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.53 loncom/interface/loncreatecourse.pm:1.54
--- loncom/interface/loncreatecourse.pm:1.53	Tue Mar 30 15:46:24 2004
+++ loncom/interface/loncreatecourse.pm	Fri Apr 16 09:33:41 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Create a course
 #
-# $Id: loncreatecourse.pm,v 1.53 2004/03/30 20:46:24 www Exp $
+# $Id: loncreatecourse.pm,v 1.54 2004/04/16 13:33:41 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -546,6 +546,8 @@
 	    $cenv{'description'}=$oldcenv{'description'};
 # Mark as cloned
 	    $cenv{'clonedfrom'}=$cloneid;
+	    delete($cenv{'default_enrollment_start_date'});
+	    delete($cenv{'default_enrollment_end_date'});
 	}
     }
 #