Skip to content

Commit

Permalink
adding long time warning MDL-7890
Browse files Browse the repository at this point in the history
  • Loading branch information
toyomoyo committed Dec 15, 2006
1 parent a880d59 commit 4e3ea0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backup/restore_check.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
//It cheks that the parammeter from restore_form are coherent.
//It puts all the restore info in the session.
//Finally, it calls restore_execute to do the hard work

//Get objects from session
if ($SESSION) {
$info = $SESSION->info;
Expand Down Expand Up @@ -119,7 +118,7 @@
//add new vars to restore object
$restore->course_startdateoffset = $coursestartdatedateoffset;
$restore->course_shortname = $currentcourseshortname;

// create role mappings, not sure all should be here
if ($data2 = data_submitted()) {
foreach ($data2 as $tempname=>$tempdata) {
Expand Down Expand Up @@ -265,6 +264,7 @@
$hidden["launch"] = "execute";
$hidden["file"] = $file;
$hidden["id"] = $id;
print_string('longtimewarning','admin');
print_single_button("restore.php", $hidden, get_string("restorecoursenow"),"post");
echo "</center>";
} else {
Expand Down

0 comments on commit 4e3ea0e

Please sign in to comment.