diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-05-23 11:27:17 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-05-23 11:27:17 +0200 |
commit | 79922c0d963de9728315db02deaf4d2516c94d5b (patch) | |
tree | 4e88347e682e05b9c73bfe91d43256775ea83343 /system/database/drivers/sqlite | |
parent | 32593f9aa821a80f5e9fc2dbbae0b4f5f1078dd8 (diff) |
Removed the parameter use in database drivers' _close() and added a default _close() method in CI_DB_driver + some changelog fixes
Diffstat (limited to 'system/database/drivers/sqlite')
-rw-r--r-- | system/database/drivers/sqlite/sqlite_driver.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/system/database/drivers/sqlite/sqlite_driver.php b/system/database/drivers/sqlite/sqlite_driver.php index 551704f83..d710b945d 100644 --- a/system/database/drivers/sqlite/sqlite_driver.php +++ b/system/database/drivers/sqlite/sqlite_driver.php @@ -450,15 +450,14 @@ class CI_DB_sqlite_driver extends CI_DB { /** * Close DB Connection * - * @param resource * @return void */ - protected function _close($conn_id) + protected function _close() { - @sqlite_close($conn_id); + @sqlite_close($this->conn_id); } } /* End of file sqlite_driver.php */ -/* Location: ./system/database/drivers/sqlite/sqlite_driver.php */ +/* Location: ./system/database/drivers/sqlite/sqlite_driver.php */
\ No newline at end of file |