summaryrefslogtreecommitdiffstats
path: root/system/database/DB_driver.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-24 17:40:50 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-24 17:40:50 +0200
commit7f57a016358a5ae19470d6c45b09d647246e3462 (patch)
tree850f0f5a956bdd3e01b13fe3c378082ab8772831 /system/database/DB_driver.php
parentf49c407d587d35fc12ad27c045fbcb51f89f59f8 (diff)
Remove the DB destructor (db->close())
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r--system/database/DB_driver.php17
1 files changed, 0 insertions, 17 deletions
diff --git a/system/database/DB_driver.php b/system/database/DB_driver.php
index a0812d4c7..d8a1c13f0 100644
--- a/system/database/DB_driver.php
+++ b/system/database/DB_driver.php
@@ -1404,23 +1404,6 @@ abstract class CI_DB_driver {
{
}
- // --------------------------------------------------------------------
-
- /**
- * Destructor
- *
- * Closes the database connection, if needed.
- *
- * @return void
- */
- public function __destruct()
- {
- if ( ! $this->pconnect)
- {
- $this->close();
- }
- }
-
}
/* End of file DB_driver.php */