version 1.49, 2016/07/24 14:35:15
|
version 1.50, 2017/06/18 22:29:01
|
Line 479 sub update_LC {
|
Line 479 sub update_LC {
|
if ($autofailsafe < scalar(@{$delaydrops{$class}})) { |
if ($autofailsafe < scalar(@{$delaydrops{$class}})) { |
$$logmsg .= &mt('The following students were not expired from the old section [_1] because the enrollment count retrieved for that institutional section was zero, and the number of students with roles to expire exceeded the failsafe threshold of [_2]:',$class,$autofailsafe); |
$$logmsg .= &mt('The following students were not expired from the old section [_1] because the enrollment count retrieved for that institutional section was zero, and the number of students with roles to expire exceeded the failsafe threshold of [_2]:',$class,$autofailsafe); |
if ($context eq "updatenow") { |
if ($context eq "updatenow") { |
$$logmsg .= join('<br />',@{$delaydrops{$class}}).$linefeed; |
$$logmsg .= '<br />'.join('<br />',@{$delaydrops{$class}}).$linefeed; |
} elsif ($context eq "automated") { |
} elsif ($context eq "automated") { |
$$logmsg .= join($linefeed,@{$delaydrops{$class}}).$linefeed; |
$$logmsg .= $linefeed.join($linefeed,@{$delaydrops{$class}}).$linefeed; |
} |
} |
} else { |
} else { |
foreach my $uname (@{$delaydrops{$class}}) { |
foreach my $uname (@{$delaydrops{$class}}) { |