]> git.mjollnir.org Git - moodle.git/commit
Now restore checks that we are coming from the form page to delete any
authorstronk7 <stronk7>
Mon, 10 Apr 2006 19:02:39 +0000 (19:02 +0000)
committerstronk7 <stronk7>
Mon, 10 Apr 2006 19:02:39 +0000 (19:02 +0000)
commitc3cb69e5f43970b6c1f60920f3264ed14db9ae57
tree31d88d2e407ddba58f224c9cbeda92bfa95deb03
parentefef8f690d78ae942187c15a8d5c33b368b36e7a
Now restore checks that we are coming from the form page to delete any
previously stored $SESSION->restore data.

Also, the "restore to existing" feature is working again. It was broken
because of the pseudo-register-globals hack. Now course_id is retrieved
with the standar param() methods.

Bug 5145 was the original cause for investingating this.
(http://moodle.org/bugs/bug.php?op=show&bugid=5145)
backup/restore_check.html