]> git.mjollnir.org Git - moodle.git/commitdiff
Just remove one condition previously checked.
authorstronk7 <stronk7>
Sun, 27 Aug 2006 08:58:09 +0000 (08:58 +0000)
committerstronk7 <stronk7>
Sun, 27 Aug 2006 08:58:09 +0000 (08:58 +0000)
admin/index.php

index 00af173189405c0a8199f10a34c87f246c8dac39..71e34d522970ee9b5460e9a1dab66598da5de725 100644 (file)
             /// 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