BUGFIX Fixed wrong parameter order in PostgreSQLDatabaseConfigurationHelper

This commit is contained in:
Sean Harvey 2010-03-09 00:25:42 +00:00
parent e33bd117d4
commit 1aa8f6b765

View File

@ -98,8 +98,8 @@ class PostgreSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelp
$success = true; $success = true;
$alreadyExists = true; $alreadyExists = true;
} else { } else {
if(@pg_query("CREATE DATABASE testing123", $conn)) { if(@pg_query($conn, "CREATE DATABASE testing123")) {
pg_query("DROP DATABASE testing123", $conn); pg_query($conn, "DROP DATABASE testing123");
$success = true; $success = true;
$alreadyExists = false; $alreadyExists = false;
} }