From 0143fb9f947622eb452dd98c1824171e2eaf4e76 Mon Sep 17 00:00:00 2001 From: moodler Date: Thu, 24 Feb 2005 09:03:24 +0000 Subject: [PATCH] Upgrade activity modules first ... see bug 2630 --- admin/index.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/admin/index.php b/admin/index.php index 25a48a67824bd..5632df5accb13 100644 --- a/admin/index.php +++ b/admin/index.php @@ -228,6 +228,9 @@ +/// 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 + /// 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 @@ -242,9 +245,6 @@ /// Check all enrolment plugins and upgrade if necessary upgrade_enrol_plugins("$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 - /// Set up the overall site name etc.