mirror of
https://github.com/silverstripe/silverstripe-postgresql
synced 2024-10-22 17:05:45 +02:00
BUGFIX Fixed wrong parameter order in PostgreSQLDatabaseConfigurationHelper
This commit is contained in:
parent
e33bd117d4
commit
1aa8f6b765
@ -98,8 +98,8 @@ class PostgreSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelp
|
||||
$success = true;
|
||||
$alreadyExists = true;
|
||||
} else {
|
||||
if(@pg_query("CREATE DATABASE testing123", $conn)) {
|
||||
pg_query("DROP DATABASE testing123", $conn);
|
||||
if(@pg_query($conn, "CREATE DATABASE testing123")) {
|
||||
pg_query($conn, "DROP DATABASE testing123");
|
||||
$success = true;
|
||||
$alreadyExists = false;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user