mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
timeavailable was missing in backup and restore. :-)
This commit is contained in:
parent
e7c350f794
commit
9b6618b9bc
@ -45,6 +45,7 @@
|
||||
fwrite ($bf,full_tag("ASSIGNMENTTYPE",4,false,$assignment->assignmenttype));
|
||||
fwrite ($bf,full_tag("MAXBYTES",4,false,$assignment->maxbytes));
|
||||
fwrite ($bf,full_tag("TIMEDUE",4,false,$assignment->timedue));
|
||||
fwrite ($bf,full_tag("TIMEAVAILABLE",4,false,$assignment->timeavailable));
|
||||
fwrite ($bf,full_tag("GRADE",4,false,$assignment->grade));
|
||||
fwrite ($bf,full_tag("TIMEMODIFIED",4,false,$assignment->timemodified));
|
||||
//if we've selected to backup users info, then execute backup_assignment_submisions
|
||||
|
@ -49,6 +49,7 @@
|
||||
$assignment->assignmenttype = backup_todb($info['MOD']['#']['ASSIGNMENTTYPE']['0']['#']);
|
||||
$assignment->maxbytes = backup_todb($info['MOD']['#']['MAXBYTES']['0']['#']);
|
||||
$assignment->timedue = backup_todb($info['MOD']['#']['TIMEDUE']['0']['#']);
|
||||
$assignment->timeavailable = backup_todb($info['MOD']['#']['TIMEAVAILABLE']['0']['#']);
|
||||
$assignment->grade = backup_todb($info['MOD']['#']['GRADE']['0']['#']);
|
||||
$assignment->timemodified = backup_todb($info['MOD']['#']['TIMEMODIFIED']['0']['#']);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user