mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
Added course->cost to backup/restore
This commit is contained in:
parent
6f7a4c2be0
commit
d902b189e0
@ -576,6 +576,7 @@
|
||||
fwrite ($bf,full_tag("GROUPMODE",3,false,$course->groupmode));
|
||||
fwrite ($bf,full_tag("GROUPMODEFORCE",3,false,$course->groupmodeforce));
|
||||
fwrite ($bf,full_tag("LANG",3,false,$course->lang));
|
||||
fwrite ($bf,full_tag("COST",3,false,$course->cost));
|
||||
fwrite ($bf,full_tag("MARKER",3,false,$course->marker));
|
||||
fwrite ($bf,full_tag("VISIBLE",3,false,$course->visible));
|
||||
fwrite ($bf,full_tag("HIDDENSECTIONS",3,false,$course->hiddensections));
|
||||
|
@ -547,6 +547,7 @@
|
||||
$course->groupmode = addslashes($course_header->course_groupmode);
|
||||
$course->groupmodeforce = addslashes($course_header->course_groupmodeforce);
|
||||
$course->lang = addslashes($course_header->course_lang);
|
||||
$course->cost = addslashes($course_header->course_cost);
|
||||
$course->marker = addslashes($course_header->course_marker);
|
||||
$course->visible = addslashes($course_header->course_visible);
|
||||
$course->hiddensections = addslashes($course_header->course_hiddensections);
|
||||
@ -2218,6 +2219,9 @@
|
||||
case "LANG":
|
||||
$this->info->course_lang = $this->getContents();
|
||||
break;
|
||||
case "COST":
|
||||
$this->info->course_cost = $this->getContents();
|
||||
break;
|
||||
case "MARKER":
|
||||
$this->info->course_marker = $this->getContents();
|
||||
break;
|
||||
|
@ -5,6 +5,6 @@
|
||||
// database (backup_version) to determine whether upgrades should
|
||||
// be performed (see db/backup_*.php)
|
||||
|
||||
$backup_version = 2004052400; // The current version is a date (YYYYMMDDXX)
|
||||
$backup_version = 2004062600; // The current version is a date (YYYYMMDDXX)
|
||||
|
||||
$backup_release = "1.3"; // User-friendly version number
|
||||
$backup_release = "1.4 development"; // User-friendly version number
|
||||
|
Loading…
x
Reference in New Issue
Block a user