PHP4 is dead - admins with PHP4 will get ugly errors when trying to install Moodle 2.0, sorry we can not dance around this ancient version forever

This commit is contained in:
Petr Skoda 2010-08-17 10:38:34 +00:00
parent cbb54cce78
commit e890316899

View File

@ -452,7 +452,6 @@ if ($config->stage == INSTALL_DATABASETYPE) {
get_string('databasetypehead', 'install'), get_string('databasetypehead', 'install'),
get_string('databasetypesub', 'install')); get_string('databasetypesub', 'install'));
// TODO: move this PHP5 code to lib/installib.php so that this file parses in PHP4
$databases = array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'), $databases = array('mysqli' => moodle_database::get_driver_instance('mysqli', 'native'),
'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'), 'pgsql' => moodle_database::get_driver_instance('pgsql', 'native'),
'oci' => moodle_database::get_driver_instance('oci', 'native'), 'oci' => moodle_database::get_driver_instance('oci', 'native'),