[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /automation batchcreatecourse.pm

raeburn raeburn at source.lon-capa.org
Fri May 22 16:55:45 EDT 2020


raeburn		Fri May 22 20:55:45 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/automation	batchcreatecourse.pm 
  Log:
  - For 2.11
    Backport 1.44
  
  
Index: loncom/automation/batchcreatecourse.pm
diff -u loncom/automation/batchcreatecourse.pm:1.40.2.2 loncom/automation/batchcreatecourse.pm:1.40.2.3
--- loncom/automation/batchcreatecourse.pm:1.40.2.2	Fri Jul 26 14:52:26 2019
+++ loncom/automation/batchcreatecourse.pm	Fri May 22 20:55:45 2020
@@ -1,5 +1,5 @@
 #
-# $Id: batchcreatecourse.pm,v 1.40.2.2 2019/07/26 14:52:26 raeburn Exp $
+# $Id: batchcreatecourse.pm,v 1.40.2.3 2020/05/22 20:55:45 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -89,6 +89,7 @@
 # <disresdis>1</disresdis>
 # <disablechat>1</disablechat>
 # <openall></openall>
+# <openallfrom></openallfrom>
 # <notify_dc>1</notify_dc>
 # <notify_owner>1</notify_owner>
 # <owner>
@@ -272,7 +273,7 @@
     my $role = '';
     my @items = ('title','optional_id','coursecode','defaultcredits','coursehome','reshome','nonstandard','adds','drops','topmap','firstres','clonecrs','clonedom','datemode','dateshift','showphotos','setpolicy','setcontent','setcomment','setkeys','keyauth','disresdis','disablechat','openall','notify_owner','notify_dc','crstype','crsquota','uniquecode');
     my @possroles = qw(st ad ep ta in cc co);
-    my @dateitems = ('enrollstart','enrollend','accessstart','accessend');
+    my @dateitems = ('enrollstart','enrollend','accessstart','accessend','openallfrom');
     my @useritems = ('autharg','authtype','firstname','generation','lastname','middlename','studentID');
     my $p = HTML::Parser->new
     (
@@ -545,6 +546,7 @@
                disresdis => $details->{'disresdis'},
                disablechat => $details->{'disablechat'},
                openall => $details->{'openall'},
+               openallfrom => $details->{'openallfrom'},
                firstres => $firstres
                };
         if ($details->{'textbook'}) {




More information about the LON-CAPA-cvs mailing list