MDL-19474 finally dropping support for old adodb moodle database drivers, yay!

This commit is contained in:
skodak 2009-10-08 22:04:32 +00:00
parent 625adcf2e5
commit d6960b0bd1
2 changed files with 6 additions and 9 deletions

View File

@ -10,13 +10,10 @@ class database_transfer_form extends moodleform {
$mform->addElement('header', 'database', get_string('dbtransfer', 'dbtransfer'));
$supported = array (
'mysqli/adodb',
'mysql/adodb',
'postgres7/adodb',
'mssql_n/adodb',
'mssql/adodb',
'odbc_mssql/adodb',
'oci8po/adodb',
'mysqli/native',
'pgsql/native',
'mssql/native',
'oci/native',
'sqlite3/pdo',
);
$drivers = array();

View File

@ -132,8 +132,8 @@ foreach ($dbinfos as $i=>$dbinfo) {
echo '</ul>';
echo '<p>External databases are configured in config.php, add lines:</p>
<pre>
$CFG->func_test_db_1 = array("adodb", "postgres7", "localhost", "moodleuser", "password", "moodle", "test", null);
$CFG->func_test_db_2 = array("adodb", "mssql", "localhost", "moodleuser", "password", "moodle", "test", null);
$CFG->func_test_db_1 = array("native", "pgsql", "localhost", "moodleuser", "password", "moodle", "test", null);
$CFG->func_test_db_2 = array("native", "mssql", "localhost", "moodleuser", "password", "moodle", "test", null);
</pre>
<p>where order of parameters is: dblibrary, dbtype, dbhost, dbuser, dbpass, dbname, prefix, dboptions</p>';
echo '<p><input type="submit" value="' . get_string('runtests', 'simpletest') . '" /></p>';