From: martinlanghoff Date: Thu, 4 Jan 2007 01:07:35 +0000 (+0000) Subject: db upgrades are now XHTML-correct -- at least when they succeed! With this patch... X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=b776b2773871e33f47a3c84136764291f3ec1a55;p=moodle.git db upgrades are now XHTML-correct -- at least when they succeed! With this patch, 1.8 installation completes correctly --- diff --git a/backup/lib.php b/backup/lib.php index c98f3203a5..d731e803f1 100644 --- a/backup/lib.php +++ b/backup/lib.php @@ -351,6 +351,7 @@ notify(get_string("databasesuccess"), "green"); notify(get_string("databaseupgradebackups", "", $backup_version), "green"); print_continue($continueto); + print_footer(); exit; } else { error("Upgrade of backup system failed! (Could not update version in config table)"); diff --git a/group/db/upgrade.php b/group/db/upgrade.php index a5486df9f4..5c15d8e1e7 100644 --- a/group/db/upgrade.php +++ b/group/db/upgrade.php @@ -1,4 +1,4 @@ -newadminuser)) { print_footer($course); + } else { + print_footer(); } exit;