--- loncom/enrollment/localenroll.pm 2014/04/30 17:17:25 1.47 +++ loncom/enrollment/localenroll.pm 2014/05/06 20:42:32 1.48 @@ -1,6 +1,6 @@ # functions to glue school database system into Lon-CAPA for # automated enrollment -# $Id: localenroll.pm,v 1.47 2014/04/30 17:17:25 raeburn Exp $ +# $Id: localenroll.pm,v 1.48 2014/05/06 20:42:32 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -469,6 +469,20 @@ sub crsreq_updates { mt => '', args => [], }]; + $outgoing->{'createdactions'} = { + environment => {}, + }; + # environment can contain key=>value for + # items to set in the course environment. + # These would be items which are NOT included + # in the items set via options in the course + # request form. Currently self-enrollment + # settings are the only ones allowed, i.e., + # internal.selfenroll_types internal.selfenroll_registered + # internal.selfenroll_section internal.selfenroll_start_access + # internal.selfenroll_end_access internal.selfenroll_limit + # internal.selfenroll_cap internal.selfenroll_approval + # internal.selfenroll_notifylist } elsif ($action eq 'queued') { $outgoing->{'queuedmsg'} = [{ mt => '',