diff options
author | Jehong Ahn <toonitw@gmail.com> | 2018-04-18 16:56:29 +0200 |
---|---|---|
committer | Jehong Ahn <toonitw@gmail.com> | 2018-04-18 16:56:29 +0200 |
commit | 1716c70d5a36285e8f531feecd99ba290353658c (patch) | |
tree | fad7f0ef9cfb7cb69115d7de1a718b2d18009f99 /system | |
parent | 69ce2fe4843ccb14ae2c2aa8db37f57841d3f231 (diff) |
Remove the extra parentheses
Diffstat (limited to 'system')
-rw-r--r-- | system/database/DB_driver.php | 2 | ||||
-rw-r--r-- | system/database/DB_query_builder.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php index c213bc280..2f6bd7484 100644 --- a/system/database/DB_driver.php +++ b/system/database/DB_driver.php @@ -1469,7 +1469,7 @@ abstract class CI_DB_driver { return 'UPDATE '.$table.' SET '.implode(', ', $valstr) .$this->_compile_wh('qb_where') .$this->_compile_order_by() - .(($this->qb_limit !== FALSE) ? ' LIMIT '.$this->qb_limit : ''); + .($this->qb_limit !== FALSE ? ' LIMIT '.$this->qb_limit : ''); } // -------------------------------------------------------------------- diff --git a/system/database/DB_query_builder.php b/system/database/DB_query_builder.php index 77f6cfe89..8f52ff1d1 100644 --- a/system/database/DB_query_builder.php +++ b/system/database/DB_query_builder.php @@ -2287,7 +2287,7 @@ abstract class CI_DB_query_builder extends CI_DB_driver { protected function _delete($table) { return 'DELETE FROM '.$table.$this->_compile_wh('qb_where') - .(($this->qb_limit !== FALSE) ? ' LIMIT '.$this->qb_limit : ''); + .($this->qb_limit !== FALSE ? ' LIMIT '.$this->qb_limit : ''); } // -------------------------------------------------------------------- |