BUGFIX Ensure MySQLi is used consistently in MySQLDatabaseConfigurationHelper, not old mysql functions

This commit is contained in:
Sean Harvey 2012-05-05 11:22:28 +12:00
parent a79032c57f
commit 4e18cc581b

View File

@ -122,7 +122,7 @@ class MySQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper {
$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;
}