mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
MDL-17969 Now defaulting to new mssql native driver instead of adodb one. Yay!
This commit is contained in:
parent
18672a3e22
commit
be127d7922
1 changed files with 8 additions and 0 deletions
|
@ -231,6 +231,14 @@ function setup_DB() {
|
|||
$CFG->dblibrary = 'native';
|
||||
break;
|
||||
|
||||
case 'mssql_n':
|
||||
$CFG->dbtype = 'mssql';
|
||||
// continue, no break here
|
||||
|
||||
case 'mssql':
|
||||
$CFG->dblibrary = 'native';
|
||||
break;
|
||||
|
||||
case 'mysql' :
|
||||
if (!extension_loaded('mysqli')) {
|
||||
$CFG->dblibrary = 'adodb';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue