mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
MDL-19474 finally dropping support for old adodb moodle database drivers, yay!
This commit is contained in:
parent
625adcf2e5
commit
d6960b0bd1
@ -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();
|
||||
|
@ -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>';
|
||||
|
Loading…
x
Reference in New Issue
Block a user