Skip to content
This repository
Browse code

BUGFIX Ensure MySQLi is used consistently in MySQLDatabaseConfigurati…

…onHelper, not old mysql functions
  • Loading branch information...
commit 4e18cc581b7e439986d5578ee7da87fe53da0f36 1 parent a79032c
Sean Harvey authored May 05, 2012
2  dev/install/MySQLDatabaseConfigurationHelper.php
@@ -122,7 +122,7 @@ public function requireDatabaseOrCreatePermissions($databaseConfig) {
122 122
 			$alreadyExists = true;
123 123
 		} else {
124 124
 			if($conn && $conn->query('CREATE DATABASE testing123')) {
125  
-				mysql_query('DROP DATABASE testing123', $conn);
  125
+				$conn->query('DROP DATABASE testing123');
126 126
 				$success = true;
127 127
 				$alreadyExists = false;
128 128
 			}

0 notes on commit 4e18cc5

Please sign in to comment.
Something went wrong with that request. Please try again.