version 1.793, 2023/04/02 03:16:28
|
version 1.795, 2024/07/01 22:29:01
|
Line 2963 sub get_last_submission {
|
Line 2963 sub get_last_submission {
|
$prevsolved{$partid} = $solved{$partid}; |
$prevsolved{$partid} = $solved{$partid}; |
} |
} |
} |
} |
$timestamp = |
|
&Apache::lonlocal::locallocaltime($$returnhash{$version.':timestamp'}); |
|
} |
} |
|
# |
|
# Timestamp is for last transaction for this resource, which does not |
|
# necessarily correspond to the time of last submission for problem (or part). |
|
# |
|
if ($lasthash{'timestamp'} ne '') { |
|
$timestamp = &Apache::lonlocal::locallocaltime($lasthash{'timestamp'}); |
|
} |
my (%typeparts,%randombytry); |
my (%typeparts,%randombytry); |
my $showsurv = |
my $showsurv = |
&Apache::lonnet::allowed('vas',$env{'request.course.id'}); |
&Apache::lonnet::allowed('vas',$env{'request.course.id'}); |
Line 3848 sub version_portfiles {
|
Line 3853 sub version_portfiles {
|
$$record{$key} = join(',',@versioned_portfiles); |
$$record{$key} = join(',',@versioned_portfiles); |
push(@returned_keys,$key); |
push(@returned_keys,$key); |
} |
} |
} |
} |
return (@returned_keys); |
return (@returned_keys); |
} |
} |
|
|
#-------------------------------------------------------------------------------------- |
#-------------------------------------------------------------------------------------- |