--- loncom/automation/Autocreate.pl 2010/09/26 02:29:55 1.16 +++ loncom/automation/Autocreate.pl 2011/03/06 21:17:23 1.17 @@ -2,7 +2,7 @@ # # Automated Course Creation script # -# $Id: Autocreate.pl,v 1.16 2010/09/26 02:29:55 raeburn Exp $ +# $Id: Autocreate.pl,v 1.17 2011/03/06 21:17:23 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -135,9 +135,6 @@ if ($settings->{'xml'}) { if ($settings->{'xmldc'}) { my ($dcname,$dcdom) = split(':',$settings->{'xmldc'}); - $env{'user.name'} = $dcname; - $env{'user.domain'} = $dcdom; - $env{'request.role.domain'} = $dom; if (!&check_activedc($dcdom,$dcname,$dom)) { print $fh "Autocreate.pl in domain $dom configured to run under the auspices of a user without an active domain coordinator role in the domain - course creation will be skipped.\n\n"; next; @@ -149,7 +146,7 @@ } } if ($settings->{'req'}) { - my $output = &Apache::loncoursequeueadmin::process_official_reqs('auto',$dom); + my $output = &Apache::loncoursequeueadmin::process_official_reqs('auto',$dom,$dcname,$dcdom); if ($output) { print $fh $output; } 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.