version 1.552, 2004/10/26 15:03:08
|
version 1.553, 2004/10/26 15:15:18
|
Line 1873 sub devalidate {
|
Line 1873 sub devalidate {
|
# - the student level sheet of this user in course's homespace |
# - the student level sheet of this user in course's homespace |
# - the assessment level sheet for this resource |
# - the assessment level sheet for this resource |
# for this user in user's homespace |
# for this user in user's homespace |
|
# - current conditional state info |
my $key=$uname.':'.$udom.':'; |
my $key=$uname.':'.$udom.':'; |
my $status= |
my $status= |
&del('nohist_calculatedsheets', |
&del('nohist_calculatedsheets', |
Line 1887 sub devalidate {
|
Line 1888 sub devalidate {
|
$uname.' at '.$udom.' for '. |
$uname.' at '.$udom.' for '. |
$symb.': '.$status); |
$symb.': '.$status); |
} |
} |
|
&delenv('user.state.'.$cid); |
} |
} |
} |
} |
|
|
Line 3056 sub allowed {
|
Line 3058 sub allowed {
|
return ''; |
return ''; |
} |
} |
} |
} |
|
if (!defined($ENV{'user.state.'.$ENV{'request.course.id'}})) { |
|
&Apache::lonuserstate::evalstate(); |
|
} |
if (&condval($statecond)) { |
if (&condval($statecond)) { |
return '2'; |
return '2'; |
} else { |
} else { |