Deleting $SESSION structures before starting manual restore.

This commit is contained in:
stronk7 2006-04-10 18:34:37 +00:00
parent 8847a82e25
commit 6917949483
2 changed files with 22 additions and 3 deletions

View file

@ -571,7 +571,7 @@
echo "<p align=\"center\">".get_string("areyousuretorestorethisinfo")."</p>";
$restore_path = "$CFG->wwwroot/backup/restore.php";
notice_yesno (get_string("areyousuretorestorethis"),
$restore_path."?id=".$id."&amp;file=".cleardoubleslashes($id.$wdir."/".$file),
$restore_path."?id=".$id."&amp;file=".cleardoubleslashes($id.$wdir."/".$file)."&amp;method=manual",
"index.php?id=$id&amp;wdir=$wdir&amp;action=cancel");
} else {
displaydir($wdir);