From: skodak Date: Sun, 15 Jun 2008 12:17:39 +0000 (+0000) Subject: MDL-15094 lib/db/upgrade.php is required file X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=c3175af5d5a3c73a64226f178867ccc54e5e659c;p=moodle.git MDL-15094 lib/db/upgrade.php is required file --- diff --git a/admin/index.php b/admin/index.php index 8736dfbcd6..d13fc11c9f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -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");