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

version 1.17, 2011/03/06 21:17:23 version 1.18, 2011/03/06 21:44:14
Line 132 Line 132
             my $settings;              my $settings;
             if (ref($domconfig{'autocreate'}) eq 'HASH') {              if (ref($domconfig{'autocreate'}) eq 'HASH') {
                 $settings = $domconfig{'autocreate'};                  $settings = $domconfig{'autocreate'};
                   my ($dcname,$dcdom);
                   if ($settings->{'xmldc'}) {
                       ($dcname,$dcdom) = split(':',$settings->{'xmldc'});
                   }
                 if ($settings->{'xml'}) {                  if ($settings->{'xml'}) {
                     if ($settings->{'xmldc'}) {                      if ($settings->{'xmldc'}) {
                         my ($dcname,$dcdom) = split(':',$settings->{'xmldc'});  
                         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;

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


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