summaryrefslogtreecommitdiffstats
path: root/system/core
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-05-22 23:37:04 +0200
committerAndrey Andreev <narf@bofh.bg>2012-05-22 23:37:04 +0200
commit32593f9aa821a80f5e9fc2dbbae0b4f5f1078dd8 (patch)
treed56ffd0a88bf04cbdb205876be99473b0f22ecf9 /system/core
parent1d79efea47d26e0e567f919c648adf5b554f3ff0 (diff)
parent89f77eedf9118dfccd52a7bc3e559d6bac5aa07c (diff)
Merge pull request #1378 from gintsmurans/develop
Move closing of database connection to CI_DB_driver->__destruct - #1376
Diffstat (limited to 'system/core')
-rwxr-xr-xsystem/core/CodeIgniter.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/system/core/CodeIgniter.php b/system/core/CodeIgniter.php
index 00db6e13a..585bb7b31 100755
--- a/system/core/CodeIgniter.php
+++ b/system/core/CodeIgniter.php
@@ -393,15 +393,5 @@
*/
$EXT->call_hook('post_system');
-/*
- * ------------------------------------------------------
- * Close the DB connection if one exists
- * ------------------------------------------------------
- */
- if (class_exists('CI_DB') && isset($CI->db) && ! $CI->db->pconnect)
- {
- $CI->db->close();
- }
-
/* End of file CodeIgniter.php */
/* Location: ./system/core/CodeIgniter.php */ \ No newline at end of file