Just remove one condition previously checked.

This commit is contained in:
stronk7 2006-08-27 08:58:09 +00:00
parent b8851b80eb
commit f2e0049dec

View File

@ -193,7 +193,7 @@
/// Launch the old main upgrade
$status = main_upgrade($CFG->version);
/// If succesful and exists launch the new main upgrade (XMLDB), called xmldb_main_upgrade
if ($status && $CFG->xmldb_enabled && function_exists('xmldb_main_upgrade')) {
if ($status && function_exists('xmldb_main_upgrade')) {
$status = xmldb_main_upgrade($CFG->version);
}
/// If successful, continue upgrading roles and setting everything properly