mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Ensure MySQLi is used consistently in MySQLDatabaseConfigurationHelper, not old mysql functions
This commit is contained in:
parent
a79032c57f
commit
4e18cc581b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user