[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm
raeburn
lon-capa-cvs@mail.lon-capa.org
Tue, 23 Nov 2004 06:58:34 -0000
raeburn Tue Nov 23 01:58:34 2004 EDT
Modified files:
/loncom/interface loncreatecourse.pm
Log:
localenroll no longer needed. Default domain in pickcourse pop-up is current domain.
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.69 loncom/interface/loncreatecourse.pm:1.70
--- loncom/interface/loncreatecourse.pm:1.69 Fri Oct 15 18:48:48 2004
+++ loncom/interface/loncreatecourse.pm Tue Nov 23 01:58:34 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.69 2004/10/15 22:48:48 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.70 2004/11/23 06:58:34 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -38,7 +38,6 @@
use Apache::lonlocal;
use Apache::londropadd;
use lib '/home/httpd/lib/perl';
-use localenroll;
# ================================================ Get course directory listing
@@ -254,7 +253,7 @@
($ENV{'request.role.domain'},'clonedomain').
&Apache::loncommon::selectcourse_link
('ccrs','clonecourse','clonedomain');
- my $coursebrowserjs=&Apache::loncommon::coursebrowser_javascript();
+ my $coursebrowserjs=&Apache::loncommon::coursebrowser_javascript($ENV{'request.role.domain'});
my $starttime = time;
my $endtime = time+(6*30*24*60*60); # 6 months from now, approx
my $enroll_table = &Apache::londropadd::date_setting_table($starttime,$endtime,'create_enrolldates');