]> git.mjollnir.org Git - moodle.git/commit
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that...
authortjhunt <tjhunt>
Tue, 20 Jan 2009 03:16:30 +0000 (03:16 +0000)
committertjhunt <tjhunt>
Tue, 20 Jan 2009 03:16:30 +0000 (03:16 +0000)
commitd61f7b7641ce47a684350586b3e959f2677225f1
treeddec11859d8505487b2c49339d041224d45b6455
parent8805fa94b6f0296e162ddd699499eb47571d402c
backup/restore: MDL-16614 more reliable test for when we are restoring a backup that was made of the same site that we are restoring to.

* Use this to fix a question restore bug.
* Replace older code that does something similar with the new test.
* Refactor initialisation of $CFG->siteidentifier into a function. There were about 4 copies of this code ;-)
admin/index.php
admin/register.php
backup/backuplib.php
backup/lib.php
backup/restore_check.html
backup/restore_execute.html
backup/restorelib.php
lang/en_utf8/moodle.php
lib/moodlelib.php
question/restorelib.php