MINOR Removed stray $error variable that isn't necessary in MSSQLDatabase::query()

This commit is contained in:
Sean Harvey 2010-06-03 12:05:12 +00:00
parent 13f90299cc
commit 7c7e81ac70

View File

@ -255,7 +255,6 @@ class MSSQLDatabase extends SS_Database {
if($handle) $this->lastAffectedRows = sqlsrv_rows_affected($handle);
if(function_exists('sqlsrv_errors')) {
$errInfo = sqlsrv_errors();
$error = '';
if($errInfo) {
foreach($errInfo as $info) {
$error .= implode(', ', array($info['SQLSTATE'], $info['code'], $info['message']));