From 4e18cc581b7e439986d5578ee7da87fe53da0f36 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Sat, 5 May 2012 11:22:28 +1200 Subject: [PATCH] BUGFIX Ensure MySQLi is used consistently in MySQLDatabaseConfigurationHelper, not old mysql functions --- dev/install/MySQLDatabaseConfigurationHelper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/install/MySQLDatabaseConfigurationHelper.php b/dev/install/MySQLDatabaseConfigurationHelper.php index adbe72bef..395363c29 100644 --- a/dev/install/MySQLDatabaseConfigurationHelper.php +++ b/dev/install/MySQLDatabaseConfigurationHelper.php @@ -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; }