diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-04-09 12:03:11 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-04-09 12:03:11 +0200 |
commit | a254836a611e8f555ea4bbc84e500c7040ebae4e (patch) | |
tree | 4f3396577147e1e3af98a0ca5a69eb0c65f4b318 | |
parent | c01d31685ad365c6bf3e833c03d7f8a3402c0ec7 (diff) |
Add back limit parameter to Interbase and PostgreSQL _delete() due to CI_DB_active_record being abstract
-rw-r--r-- | system/database/drivers/interbase/interbase_driver.php | 3 | ||||
-rw-r--r-- | system/database/drivers/postgre/postgre_driver.php | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/system/database/drivers/interbase/interbase_driver.php b/system/database/drivers/interbase/interbase_driver.php index cc5267d8a..6587d72ff 100644 --- a/system/database/drivers/interbase/interbase_driver.php +++ b/system/database/drivers/interbase/interbase_driver.php @@ -425,9 +425,10 @@ class CI_DB_interbase_driver extends CI_DB { * @param string the table name * @param array the where clause * @param array the like clause + * @param string the limit clause (ignored) * @return string */ - protected function _delete($table, $where = array(), $like = array()) + protected function _delete($table, $where = array(), $like = array(), $limit = FALSE) { $conditions = array(); diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php index b85049d04..14259be52 100644 --- a/system/database/drivers/postgre/postgre_driver.php +++ b/system/database/drivers/postgre/postgre_driver.php @@ -517,9 +517,10 @@ class CI_DB_postgre_driver extends CI_DB { * @param string the table name * @param array the where clause * @param array the like clause + * @param string the limit clause (ignored) * @return string */ - protected function _delete($table, $where = array(), $like = array()) + protected function _delete($table, $where = array(), $like = array(), $limit = FALSE) { $conditions = array(); |