version 1.161, 2021/04/19 20:09:07
|
version 1.163, 2021/04/29 14:54:36
|
Line 1452 sub readmap {
|
Line 1452 sub readmap {
|
# more part of determining what someone sees on entering a course? |
# more part of determining what someone sees on entering a course? |
# When lonuserstate::readmap() is called from lonroles.pm, i.e., |
# When lonuserstate::readmap() is called from lonroles.pm, i.e., |
# after selecting a role in a course, critical_redirect will be called, |
# after selecting a role in a course, critical_redirect will be called, |
# unless the course has a blocking event in effect, when suppresses |
# unless the course has a blocking event in effect, which suppresses |
# critical message checking (users without evb priv). |
# critical message checking (users without evb priv). |
# |
# |
|
|
if ($critmsg_check) { |
if ($critmsg_check) { |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(); |
my ($redirect,$url) = &Apache::loncommon::critical_redirect(); |
if ($redirect) { |
if ($redirect) { |
$retfurl = $url; |
$retfurl = $url; |
} |
} |
} |
} |
return ($retfurl,$errtext); |
return ($retfurl,$errtext); |
} |
} |