version 1.2, 2006/05/18 13:49:10
|
version 1.3, 2006/05/18 20:19:50
|
Line 73 sub coursegroups {
|
Line 73 sub coursegroups {
|
my ($tmp) = keys(%curr_groups); |
my ($tmp) = keys(%curr_groups); |
if ($tmp=~/^(con_lost|no_such_host|error: [^2] )/) { |
if ($tmp=~/^(con_lost|no_such_host|error: [^2] )/) { |
undef(%curr_groups); |
undef(%curr_groups); |
&logthis('Error retrieving groups: '.$tmp.' in '.$cnum.':'.$cdom); |
&Apache::lonnet::logthis('Error retrieving groups: '.$tmp.' in '.$cnum.':'.$cdom); |
} elsif ($tmp=~/^error: 2 /) { |
} elsif ($tmp=~/^error: 2 /) { |
undef(%curr_groups); |
undef(%curr_groups); |
} |
} |