From: skodak Date: Sun, 15 Jun 2008 10:15:51 +0000 (+0000) Subject: MDL-15094 added some overlook conversions - thanks to Eloy's script ;-) X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e81ebb9abef2744c23dfc9c0f45b023165adab07;p=moodle.git MDL-15094 added some overlook conversions - thanks to Eloy's script ;-) --- diff --git a/admin/index.php b/admin/index.php index 62b79c93b5..e04540af0f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -167,12 +167,7 @@ } } - $status = false; - if (file_exists("$CFG->libdir/db/install.xml")) { - $status = $DB->get_manager()->install_from_xmldb_file("$CFG->libdir/db/install.xml"); //New method - } else { - print_error('dbnotsupport', 'debug', '', $CFG->dbtype); - } + $status = $DB->get_manager()->install_from_xmldb_file("$CFG->libdir/db/install.xml"); //New method // all new installs are in unicode - keep for backwards compatibility and 1.8 upgrade checks set_config('unicodedb', 1);