From 47ceac47e43b5a9cb39cb66ada44529c192b172c Mon Sep 17 00:00:00 2001 From: tjhunt Date: Fri, 12 Dec 2008 02:50:36 +0000 Subject: [PATCH] questionlib: clarify a comment. --- lib/questionlib.php | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/questionlib.php b/lib/questionlib.php index 9dfb6200ca..693f61b592 100644 --- a/lib/questionlib.php +++ b/lib/questionlib.php @@ -955,11 +955,9 @@ function question_load_states(&$questions, &$states, $cmoptions, $attempt, $last $states[$qid]->last_graded = clone($states[$qid]); } } else { - // If the new attempt is to be based on a previous attempt get it and clean things - // Having lastattemptid filled implies that (should we double check?): - // $attempt->attempt > 1 and $cmoptions->attemptonlast and !$attempt->preview if ($lastattemptid) { - // find the responses from the previous attempt and save them to the new session + // If the new attempt is to be based on this previous attempt. + // Find the responses from the previous attempt and save them to the new session // Load the last graded state for the question $statefields = 'n.questionid as question, s.*, n.sumpenalty'; -- 2.39.5