summaryrefslogtreecommitdiffstats
path: root/system/database/drivers/postgre
diff options
context:
space:
mode:
authorTimothy Warren <tim@timshomepage.net>2012-05-23 14:14:10 +0200
committerTimothy Warren <tim@timshomepage.net>2012-05-23 14:14:10 +0200
commit2fceb85c49142cd512c10080a3cd9ad067f0414c (patch)
tree861162f9c4b8137d73045e6b71533946fbcfc108 /system/database/drivers/postgre
parent249204b67d9d437898198ad355d452f467f70dc3 (diff)
parentf46e726cfb726da2ec2095011ffe8625b6f9c816 (diff)
Merge branch 'develop' of git://github.com/EllisLab/CodeIgniter into errors
Diffstat (limited to 'system/database/drivers/postgre')
-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);
}
}