[LON-CAPA-cvs] cvs: loncom(version_2_6_X) /interface loncreatecourse.pm
raeburn
lon-capa-cvs-allow@mail.lon-capa.org
Sun, 23 Dec 2007 17:36:56 -0000
raeburn Sun Dec 23 12:36:56 2007 EDT
Modified files: (Branch: version_2_6_X)
/loncom/interface loncreatecourse.pm
Log:
Backport changes in rev 1.105
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.104.2.1 loncom/interface/loncreatecourse.pm:1.104.2.2
--- loncom/interface/loncreatecourse.pm:1.104.2.1 Wed Nov 28 12:36:11 2007
+++ loncom/interface/loncreatecourse.pm Sun Dec 23 12:36:56 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.104.2.1 2007/11/28 17:36:11 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.104.2.2 2007/12/23 17:36:56 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -35,7 +35,7 @@
use Apache::loncommon;
use Apache::londocs;
use Apache::lonlocal;
-use Apache::londropadd;
+use Apache::lonuserutils;
use Apache::lonclonecourse;
use LONCAPA::batchcreatecourse;
use LONCAPA;
@@ -71,13 +71,13 @@
if ($crstype eq 'Course') {
my $starttime = time;
my $endtime = time+(6*30*24*60*60); # 6 months from now, approx
- $enroll_table = &Apache::londropadd::date_setting_table($starttime,
+ $enroll_table = &Apache::lonuserutils::date_setting_table($starttime,
$endtime,'create_enrolldates');
- $access_table = &Apache::londropadd::date_setting_table($starttime,
+ $access_table = &Apache::lonuserutils::date_setting_table($starttime,
$endtime,'create_defaultdates');
($krbdef,$krbdefdom) =
&Apache::loncommon::get_kerberos_defaults($defdom);
- $javascript_validations=&Apache::londropadd::javascript_validations(
+ $javascript_validations=&Apache::lonuserutils::javascript_validations(
'createcourse',$krbdefdom);
my %param = ( formname => 'document.ccrs',
kerb_def_dom => $krbdefdom,