]> git.mjollnir.org Git - moodle.git/commit
Blocks are now saved to and restored from course backups!
authordefacer <defacer>
Fri, 29 Oct 2004 17:07:11 +0000 (17:07 +0000)
committerdefacer <defacer>
Fri, 29 Oct 2004 17:07:11 +0000 (17:07 +0000)
commit3ecf46a193806307999976e2d7d0cd12a71ace67
tree0819ee8f1f20e299460f250640dfc70df4c1cc4f
parent89a5baaba1adfb988fe9a75045a8eb916f9e7e91
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.
backup/backup_execute.html
backup/backuplib.php
backup/restore_execute.html
backup/restorelib.php
backup/version.php
lang/en/moodle.php