moodle/backup/version.php
defacer 3ecf46a193 Blocks are now saved to and restored from course backups!
Backward compatibility is maintained, i.e. you can restore ANY version
backups without problems in 1.5. When "adding backup data to an existing
course", no blocks are added. I 'm not sure what the correct behavior
would be in this case.

When restoring a backup from Moodle <= 1.2, the new course SHOULD be given
default blocks when it is restored. I have not actually tested this, my
tests were with version 1.3 and 1.4 backup format.
2004-10-29 17:07:11 +00:00

11 lines
418 B
PHP

<?PHP //$Id$
// This file defines the current version of the
// backup/restore code that is being used. This can be
// compared against the values stored in the
// database (backup_version) to determine whether upgrades should
// be performed (see db/backup_*.php)
$backup_version = 2004102900; // The current version is a date (YYYYMMDDXX)
$backup_release = "1.5 development"; // User-friendly version number