diff options
author | blowdoof <blowdoof@gmail.com> | 2013-10-18 15:58:04 +0200 |
---|---|---|
committer | blowdoof <blowdoof@gmail.com> | 2013-10-18 15:58:04 +0200 |
commit | 1f71da710a84e6bf2d348bd17ffcc7b5023f13c9 (patch) | |
tree | 759b1802f1a959cfd383024cc95dd1a9d1ef6882 /system/database | |
parent | 6f52325abecad238b4c0a3097b0d849bf685adce (diff) |
Style correction
Diffstat (limited to 'system/database')
-rw-r--r-- | system/database/drivers/sqlsrv/sqlsrv_forge.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/system/database/drivers/sqlsrv/sqlsrv_forge.php b/system/database/drivers/sqlsrv/sqlsrv_forge.php index d800c5074..2940beb9b 100644 --- a/system/database/drivers/sqlsrv/sqlsrv_forge.php +++ b/system/database/drivers/sqlsrv/sqlsrv_forge.php @@ -61,12 +61,12 @@ class CI_DB_sqlsrv_forge extends CI_DB_forge { function _drop_table($table) { $sql = ''; - $sql = "IF (EXISTS (SELECT * - FROM INFORMATION_SCHEMA.TABLES - WHERE TABLE_SCHEMA = 'dbo' - AND TABLE_NAME = '"; - $sql .= $this->db->_escape_identifiers($table)."')) DROP TABLE [dbo].["; - $sql .= $this->db->_escape_identifiers($table).']'; + $sql = "IF (EXISTS (SELECT * + FROM INFORMATION_SCHEMA.TABLES + WHERE TABLE_SCHEMA = 'dbo' + AND TABLE_NAME = '"; + $sql .= $this->db->_escape_identifiers($table)."')) DROP TABLE [dbo].["; + $sql .= $this->db->_escape_identifiers($table).']'; return $sql; } |