From 635c0e0b4a186f24186e4a5c92554ec1abf2d60a Mon Sep 17 00:00:00 2001 From: skodak Date: Mon, 28 Aug 2006 18:07:15 +0000 Subject: [PATCH] turning on the upgrade in progress check again, added skip warning link --- admin/index.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index 518f4d4aa2..96a92dc73e 100644 --- a/admin/index.php +++ b/admin/index.php @@ -29,6 +29,7 @@ $id = optional_param('id', '', PARAM_ALPHANUM); $confirmupgrade = optional_param('confirmupgrade', 0, PARAM_BOOL); $agreelicence = optional_param('agreelicence',0, PARAM_BOOL); + $ignoreupgradewarning = optional_param('ignoreupgradewarning', 0, PARAM_BOOL); /// Interim solution to keep the XMLDB installation disabled /// can be enabled by hand in the config.php, of course @@ -37,7 +38,10 @@ } /// check upgrade status first - #upgrade_check_running("Upgrade already running, please wait!", 10); + if ($ignoreupgradewarning and !empty($_SESSION['upgraderunning'])) { + $_SESSION['upgraderunning'] = 0; + } + upgrade_check_running("Upgrade already running in this session, please wait!
Click on the exclamation marks to ignore this warning (!!!).", 10); /// Check some PHP server settings -- 2.39.5