mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Now STAMP fiel is supported in backup & restore.
If it exists in backup-file used, else, old search-by-name is used. When inserting new categories, stamp is filled it it doesn't exist. Updated version to 1.1 Beta +++ !!
This commit is contained in:
parent
1c4968eb7f
commit
202ba3902e
3 changed files with 144 additions and 56 deletions
|
@ -107,6 +107,7 @@
|
|||
fwrite($bf,full_tag("NAME",4,false,$category->name));
|
||||
fwrite($bf,full_tag("INFO",4,false,$category->info));
|
||||
fwrite($bf,full_tag("PUBLISH",4,false,$category->publish));
|
||||
fwrite($bf,full_tag("STAMP",4,false,$category->stamp));
|
||||
//Now, backup their questions
|
||||
$status = quiz_backup_question($bf,$preferences,$category->id);
|
||||
//End category
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue