Skip to content

Commit

Permalink
Removing all references to mysqli
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 17, 2010
1 parent 78717ab commit cbdfb3f
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 670 deletions.
2 changes: 1 addition & 1 deletion cake/console/libs/tasks/db_config.php
Expand Up @@ -100,7 +100,7 @@ protected function _interactive() {
}
}

$driver = $this->in('Driver:', array('db2', 'firebird', 'mssql', 'mysql', 'mysqli', 'odbc', 'oracle', 'postgres', 'sqlite', 'sybase'), 'mysql');
$driver = $this->in('Driver:', array('db2', 'firebird', 'mssql', 'mysql', 'odbc', 'oracle', 'postgres', 'sqlite', 'sybase'), 'mysql');

$persistent = $this->in('Persistent Connection?', array('y', 'n'), 'n');
if (strtolower($persistent) == 'n') {
Expand Down
3 changes: 1 addition & 2 deletions cake/console/templates/skel/config/database.php.default
Expand Up @@ -31,7 +31,6 @@
*
* driver => The name of a supported driver; valid options are as follows:
* mysql - MySQL 4 & 5,
* mysqli - MySQL 4 & 5 Improved Interface (PHP5 only),
* sqlite - SQLite (PHP5 only),
* postgres - PostgreSQL 7 and higher,
* mssql - Microsoft SQL Server 2000 and higher,
Expand Down Expand Up @@ -67,7 +66,7 @@
* 'public', DB2 defaults to empty.
*
* encoding =>
* For MySQL, MySQLi, Postgres and DB2, specifies the character encoding to use when connecting to the
* For MySQL, Postgres and DB2, specifies the character encoding to use when connecting to the
* database. Uses database default.
*
*/
Expand Down
336 changes: 0 additions & 336 deletions cake/libs/model/datasources/dbo/dbo_mysqli.php

This file was deleted.

1 change: 0 additions & 1 deletion cake/tests/cases/libs/model/connection_manager.test.php
Expand Up @@ -226,7 +226,6 @@ function testGetSourceName() {
function testLoadDataSource() {
$connections = array(
array('classname' => 'DboMysql', 'filename' => 'dbo' . DS . 'dbo_mysql'),
array('classname' => 'DboMysqli', 'filename' => 'dbo' . DS . 'dbo_mysqli'),
array('classname' => 'DboMssql', 'filename' => 'dbo' . DS . 'dbo_mssql'),
array('classname' => 'DboOracle', 'filename' => 'dbo' . DS . 'dbo_oracle'),
);
Expand Down

0 comments on commit cbdfb3f

Please sign in to comment.