version 1.596.2.12.2.60.2.5, 2023/09/07 17:38:56
|
version 1.596.2.12.2.60.2.6, 2024/08/23 20:52:28
|
Line 2962 sub get_last_submission {
|
Line 2962 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 3862 sub version_portfiles {
|
Line 3867 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); |
} |
} |
|
|
sub get_next_version { |
sub get_next_version { |