mirror of
https://github.com/moodle/moodle.git
synced 2025-04-20 07:56:06 +02:00
Do the module upgrades before the qtype upgrades
This commit is contained in:
parent
51bcdf28b3
commit
5bf3aee8bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user