From: gustav_delius Date: Thu, 23 Mar 2006 13:05:40 +0000 (+0000) Subject: Do the module upgrades before the qtype upgrades X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=5bf3aee8bb1ac07122a538929c2c09789592e77e;p=moodle.git Do the module upgrades before the qtype upgrades --- 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