diff options
-rw-r--r-- | boot.php | 1 | ||||
-rw-r--r-- | include/dba.php | 7 | ||||
-rw-r--r-- | index.php | 1 |
3 files changed, 0 insertions, 9 deletions
@@ -989,7 +989,6 @@ function autoname($len) { if(! function_exists('killme')) { function killme() { session_write_close(); - closedb(); exit; }} diff --git a/include/dba.php b/include/dba.php index 32f1ac3ed..70c27515c 100644 --- a/include/dba.php +++ b/include/dba.php @@ -215,10 +215,3 @@ function dbesc_array(&$arr) { }} -if(! function_exists('closedb')) { -function closedb() { - global $db; - if($db && $db->connected) - $db->close(); -}} - @@ -326,5 +326,4 @@ else require_once(str_replace($lang . '/', '', $template)); session_write_close(); -closedb(); exit; |