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

raeburn raeburn at source.lon-capa.org
Fri Mar 9 21:45:35 EST 2012


raeburn		Sat Mar 10 02:45:35 2012 EDT

  Modified files:              
    /loncom/interface	lonclonecourse.pm 
  Log:
  - Exclude record of likes/unlikes for discussion posts when cloning course.
  
  
Index: loncom/interface/lonclonecourse.pm
diff -u loncom/interface/lonclonecourse.pm:1.8 loncom/interface/lonclonecourse.pm:1.9
--- loncom/interface/lonclonecourse.pm:1.8	Mon Oct 17 12:41:30 2011
+++ loncom/interface/lonclonecourse.pm	Sat Mar 10 02:45:35 2012
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # routines for clone a course
 #
-# $Id: lonclonecourse.pm,v 1.8 2011/10/17 12:41:30 raeburn Exp $
+# $Id: lonclonecourse.pm,v 1.9 2012/03/10 02:45:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -228,7 +228,7 @@
     foreach (&crsdirlist($origcrsid)) {
 	if ($_=~/\.db$/) {
 	    unless 
-             ($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|gradingqueue|reviewqueue|CODEs|groupmembership)/) {
+             ($_=~/^(nohist\_|disclikes|discussiontimes|classlist|versionupdate|resourcedata|\Q$origcrs_discussion\E|slots|slot_reservations|gradingqueue|reviewqueue|CODEs|groupmembership)/) {
 		 &copydb($origcrsid,$newcrsid,$_);
 	     }
 	}




More information about the LON-CAPA-cvs mailing list