diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-05-24 17:40:50 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-05-24 17:40:50 +0200 |
commit | 7f57a016358a5ae19470d6c45b09d647246e3462 (patch) | |
tree | 850f0f5a956bdd3e01b13fe3c378082ab8772831 /system/database/DB_driver.php | |
parent | f49c407d587d35fc12ad27c045fbcb51f89f59f8 (diff) |
Remove the DB destructor (db->close())
Diffstat (limited to 'system/database/DB_driver.php')
-rw-r--r-- | system/database/DB_driver.php | 17 |
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 */ |