Permalink
Browse files

BUGFIX Ensure MySQLi is used consistently in MySQLDatabaseConfigurati…

…onHelper, not old mysql functions
  • Loading branch information...
1 parent a79032c commit 4e18cc581b7e439986d5578ee7da87fe53da0f36 @halkyon halkyon committed May 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 dev/install/MySQLDatabaseConfigurationHelper.php
View
2 dev/install/MySQLDatabaseConfigurationHelper.php
@@ -122,7 +122,7 @@ public function requireDatabaseOrCreatePermissions($databaseConfig) {
$alreadyExists = true;
} else {
if($conn && $conn->query('CREATE DATABASE testing123')) {
- mysql_query('DROP DATABASE testing123', $conn);
+ $conn->query('DROP DATABASE testing123');
$success = true;
$alreadyExists = false;
}

0 comments on commit 4e18cc5

Please sign in to comment.