added code to write back timestamp

This commit is contained in:
toyomoyo 2007-05-11 09:08:30 +00:00
parent 2df712352d
commit 1b07462560
7 changed files with 206 additions and 12 deletions

View file

@ -54,7 +54,7 @@ class grade_export_xml extends grade_export {
// state can be new, or regrade
// require comparing of timestamps in db
$params->idnumber = $idnumber;
$params->idnumber = $this->idnumber;
// get the grade item
$gradeitem = new grade_item($params);
@ -91,6 +91,8 @@ class grade_export_xml extends grade_export {
echo '<feedback>'.$this->comments[$studentid][$index].'</feedback>';
}
echo '</result>';
// if flag is set, timestamp this
}
}
echo '</results>';