[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm
www
lon-capa-cvs@mail.lon-capa.org
Fri, 08 Jul 2005 14:27:16 -0000
www Fri Jul 8 10:27:16 2005 EDT
Modified files:
/loncom/interface loncreatecourse.pm
Log:
Bug #3695: clone hist files, too
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.79 loncom/interface/loncreatecourse.pm:1.80
--- loncom/interface/loncreatecourse.pm:1.79 Sun Jun 26 11:42:52 2005
+++ loncom/interface/loncreatecourse.pm Fri Jul 8 10:27:14 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.79 2005/06/26 15:42:52 raeburn Exp $
+# $Id: loncreatecourse.pm,v 1.80 2005/07/08 14:27:14 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -219,6 +219,9 @@
unless
($_=~/^(nohist\_|discussiontimes|classlist|versionupdate|resourcedata)/) {
©db($origcrsid,$newcrsid,$_);
+ my $histfile=$_;
+ $histfile=~s/\.db$/\.hist/;
+ ©file($origcrsid,$newcrsid,$histfile);
}
}
}