]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-15094 added some overlook conversions - thanks to Eloy's script ;-)
authorskodak <skodak>
Sun, 15 Jun 2008 10:15:51 +0000 (10:15 +0000)
committerskodak <skodak>
Sun, 15 Jun 2008 10:15:51 +0000 (10:15 +0000)
admin/index.php

index 62b79c93b5e937b4ef148d879d0ae7a107a970fc..e04540af0ffdf4ab2db4e2b329b37d36e739ca59 100644 (file)
             }
         }
 
-        $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);