From 9e9bd677f66285117be1f77ffe70877ab860ee0a Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Thu, 11 Feb 2010 10:08:21 +0000 Subject: [PATCH] MINOR Removed return of connection which is not used any longer --- code/MSSQLDatabaseConfigurationHelper.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/code/MSSQLDatabaseConfigurationHelper.php b/code/MSSQLDatabaseConfigurationHelper.php index ec3fa56..057b5c4 100644 --- a/code/MSSQLDatabaseConfigurationHelper.php +++ b/code/MSSQLDatabaseConfigurationHelper.php @@ -53,10 +53,8 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper { /** * Ensure a database connection is possible using credentials provided. - * The established connection resource is returned with the results as well. - * * @param array $databaseConfig Associative array of db configuration, e.g. "server", "username" etc - * @return array Result - e.g. array('success' => true, 'connection' => mssql link, 'error' => 'details of error') + * @return array Result - e.g. array('success' => true, 'error' => 'details of error') */ public function requireDatabaseConnection($databaseConfig) { $success = false; @@ -80,7 +78,6 @@ class MSSQLDatabaseConfigurationHelper implements DatabaseConfigurationHelper { return array( 'success' => $success, - 'connection' => $conn, 'error' => $error ); }