[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Wed, 25 Aug 2004 20:48:04 -0000
albertel Wed Aug 25 16:48:04 2004 EDT
Modified files:
/loncom/interface loncreatecourse.pm
Log:
- /public links were not being updated in the cloning process
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.65 loncom/interface/loncreatecourse.pm:1.66
--- loncom/interface/loncreatecourse.pm:1.65 Tue Aug 17 17:26:06 2004
+++ loncom/interface/loncreatecourse.pm Wed Aug 25 16:48:04 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.65 2004/08/17 21:26:06 raeburn Exp $
+# $Id: loncreatecourse.pm,v 1.66 2004/08/25 20:48:04 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -123,7 +123,9 @@
&readfile($origcrsid,$which),
(
'/uploaded/'.$origcrsdata{'domain'}.'/'.$origcrsdata{'num'}.'/'
- => '/uploaded/'. $newcrsdata{'domain'}.'/'. $newcrsdata{'num'}.'/'
+ => '/uploaded/'. $newcrsdata{'domain'}.'/'. $newcrsdata{'num'}.'/',
+ '/public/'.$origcrsdata{'domain'}.'/'.$origcrsdata{'num'}.'/'
+ => '/public/'. $newcrsdata{'domain'}.'/'. $newcrsdata{'num'}.'/'
)));
}
}