From c3175af5d5a3c73a64226f178867ccc54e5e659c Mon Sep 17 00:00:00 2001 From: skodak Date: Sun, 15 Jun 2008 12:17:39 +0000 Subject: [PATCH] MDL-15094 lib/db/upgrade.php is required file --- admin/index.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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"); -- 2.39.5