Diff for /loncom/automation/Autocreate.pl between versions 1.16 and 1.17

version 1.16, 2010/09/26 02:29:55 version 1.17, 2011/03/06 21:17:23
Line 135 Line 135
                 if ($settings->{'xml'}) {                  if ($settings->{'xml'}) {
                     if ($settings->{'xmldc'}) {                      if ($settings->{'xmldc'}) {
                         my ($dcname,$dcdom) = split(':',$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)) {                          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";                              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;                              next;
Line 149 Line 146
                     }                      }
                 }                  }
                 if ($settings->{'req'}) {                  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) {                      if ($output) {
                         print $fh $output;                          print $fh $output;
                     }                      }

Removed from v.1.16  
changed lines
  Added in v.1.17


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>