summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre/postgre_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-23 11:27:17 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-23 11:27:17 +0200
commit79922c0d963de9728315db02deaf4d2516c94d5b (patch)
tree4e88347e682e05b9c73bfe91d43256775ea83343 /system/database/drivers/postgre/postgre_driver.php
parent32593f9aa821a80f5e9fc2dbbae0b4f5f1078dd8 (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/postgre/postgre_driver.php')
-rw-r--r--system/database/drivers/postgre/postgre_driver.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/database/drivers/postgre/postgre_driver.php b/system/database/drivers/postgre/postgre_driver.php
index 17bd37b38..0ddfd0abe 100644
--- a/system/database/drivers/postgre/postgre_driver.php
+++ b/system/database/drivers/postgre/postgre_driver.php
@@ -653,12 +653,11 @@ class CI_DB_postgre_driver extends CI_DB {
/**
* Close DB Connection
*
- * @param resource
* @return void
*/
- protected function _close($conn_id)
+ protected function _close()
{
- @pg_close($conn_id);
+ @pg_close($this->conn_id);
}
}