timeaccess (students and teachers) included in backup/restore. :-)

This commit is contained in:
stronk7
2003-10-27 17:23:43 +00:00
parent 0f4ae874d9
commit dabf73b44a
2 changed files with 5 additions and 0 deletions
+2
View File
@@ -776,6 +776,7 @@
fwrite ($bf,full_tag("TEA_ROLE",6,false,$tea->role));
fwrite ($bf,full_tag("EDITALL",6,false,$tea->editall));
fwrite ($bf,full_tag("TIMEMODIFIED",6,false,$tea->timemodified));
fwrite ($bf,full_tag("TIMEACCESS",6,false,$tea->timeaccess));
//Print ROLE end
fwrite ($bf,end_tag("ROLE",5,true));
}
@@ -790,6 +791,7 @@
fwrite ($bf,full_tag("TIMESTART",6,false,$stu->timestart));
fwrite ($bf,full_tag("TIMEEND",6,false,$stu->timeend));
fwrite ($bf,full_tag("TIME",6,false,$stu->time));
fwrite ($bf,full_tag("TIMEACCESS",6,false,$stu->timeaccess));
//Print ROLE end
fwrite ($bf,end_tag("ROLE",5,true));
}
+3
View File
@@ -1568,6 +1568,9 @@
case "TIME":
$this->info->temprole->time = $this->getContents();
break;
case "TIMEACCESS":
$this->info->temprole->timeaccess = $this->getContents();
break;
}
}
}