version 1.21, 2005/01/30 01:07:35
|
version 1.22, 2005/04/07 06:56:21
|
Line 194 sub update_LC {
|
Line 194 sub update_LC {
|
} |
} |
# Explicitly allow access to creation/modification of students if called as an automated process. |
# Explicitly allow access to creation/modification of students if called as an automated process. |
if ($context eq 'automated') { |
if ($context eq 'automated') { |
$ENV{'allowed.cst'}='F'; |
$env{'allowed.cst'}='F'; |
} |
} |
|
|
# Compare IDs with existing LON-CAPA enrollment for this class |
# Compare IDs with existing LON-CAPA enrollment for this class |
Line 355 sub update_LC {
|
Line 355 sub update_LC {
|
|
|
# Terminated explictly allowed access to student creation/modification |
# Terminated explictly allowed access to student creation/modification |
if ($context eq 'automated') { |
if ($context eq 'automated') { |
delete($ENV{'allowed.cst'}); |
delete($env{'allowed.cst'}); |
} |
} |
if ($enrollcount > 0) { |
if ($enrollcount > 0) { |
if ($context eq "updatenow") { |
if ($context eq "updatenow") { |