MDL-15094 lib/db/upgrade.php is required file

This commit is contained in:
skodak 2008-06-15 12:17:39 +00:00
parent 777f042ff5
commit c3175af5d5

View File

@ -211,10 +211,7 @@
/// Check version of Moodle code on disk compared with database
/// and upgrade if possible.
if (file_exists("$CFG->dirroot/lib/db/upgrade.php")) {
include_once("$CFG->dirroot/lib/db/upgrade.php"); # defines new upgrades
}
require_once("$CFG->dirroot/lib/db/upgrade.php"); # defines new upgrades
$stradministration = get_string("administration");