]> git.mjollnir.org Git - moodle.git/commitdiff
Now assessment->resubmission is in backup/restore too.
authorstronk7 <stronk7>
Tue, 7 Oct 2003 12:14:16 +0000 (12:14 +0000)
committerstronk7 <stronk7>
Tue, 7 Oct 2003 12:14:16 +0000 (12:14 +0000)
mod/workshop/backuplib.php
mod/workshop/restorelib.php

index d092f235caa12cd5b94a7e36e5f58366c2bf690d..92ccdcd0d3779a4bef7434c53811e44fdf70f716 100644 (file)
                 fwrite ($bf,full_tag("TIMEAGREED",8,false,$wor_ass->timeagreed));
                 fwrite ($bf,full_tag("GRADE",8,false,$wor_ass->grade));
                 fwrite ($bf,full_tag("GRADINGGRADE",8,false,$wor_ass->gradinggrade));
+                fwrite ($bf,full_tag("RESUBMISSION",8,false,$wor_ass->resubmission));
                 fwrite ($bf,full_tag("MAILED",8,false,$wor_ass->mailed));
                 fwrite ($bf,full_tag("GENERALCOMMENT",8,false,$wor_ass->generalcomment));
                 fwrite ($bf,full_tag("TEACHERCOMMENT",8,false,$wor_ass->teachercomment));
index 33b072c90ccdfe5c1ade9100e837ccc5f25b2ba0..f1b7c9427974099a470e5aa8bda931102e0cc5c4 100644 (file)
             $assessment->timeagreed = backup_todb($ass_info['#']['TIMEAGREED']['0']['#']);
             $assessment->grade = backup_todb($ass_info['#']['GRADE']['0']['#']);
             $assessment->gradinggrade = backup_todb($ass_info['#']['GRADINGGRADE']['0']['#']);
+            $assessment->resubmission = backup_todb($ass_info['#']['RESUBMISSION']['0']['#']);
             $assessment->mailed = backup_todb($ass_info['#']['MAILED']['0']['#']);
             $assessment->generalcomment = backup_todb($ass_info['#']['GENERALCOMMENT']['0']['#']);
             $assessment->teachercomment = backup_todb($ass_info['#']['TEACHERCOMMENT']['0']['#']);