From 5bf3aee8bb1ac07122a538929c2c09789592e77e Mon Sep 17 00:00:00 2001 From: gustav_delius Date: Thu, 23 Mar 2006 13:05:40 +0000 Subject: [PATCH] Do the module upgrades before the qtype upgrades --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index f11e2afbc9..3c0aff81a2 100644 --- a/admin/index.php +++ b/admin/index.php @@ -239,12 +239,12 @@ redirect("config.php"); } -/// Check all questiontype plugins and upgrade if necessary - upgrade_plugins('qtype', 'question/questiontypes', "$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards - /// Find and check all main modules and load them up or upgrade them if necessary upgrade_activity_modules("$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards +/// Check all questiontype plugins and upgrade if necessary + upgrade_plugins('qtype', 'question/questiontypes', "$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards + /// Upgrade backup/restore system if necessary require_once("$CFG->dirroot/backup/lib.php"); upgrade_backup_db("$CFG->wwwroot/$CFG->admin/index.php"); // Return here afterwards -- 2.39.5