mirror of
https://github.com/silverstripe/silverstripe-mssql
synced 2024-10-22 08:05:53 +02:00
MINOR Removed stray $error variable that isn't necessary in MSSQLDatabase::query()
This commit is contained in:
parent
13f90299cc
commit
7c7e81ac70
@ -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']));
|
||||
|
Loading…
Reference in New Issue
Block a user