From 381e68edc78637865712dde8eae0e59e2faa5641 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 12 May 2017 00:04:37 -0400 Subject: [PATCH] Remove closedb() --- boot.php | 1 - include/dba.php | 6 ------ index.php | 1 - 3 files changed, 8 deletions(-) diff --git a/boot.php b/boot.php index 1c869c39..d2f8634e 100644 --- a/boot.php +++ b/boot.php @@ -206,7 +206,6 @@ if (!function_exists('killme')) { function killme() { session_write_close(); - closedb(); exit; } } diff --git a/include/dba.php b/include/dba.php index 37e1e173..705676f0 100644 --- a/include/dba.php +++ b/include/dba.php @@ -165,9 +165,3 @@ function dbesc_array(&$arr) array_walk($arr, 'dbesc_array_cb'); } } - -function closedb() -{ - global $db; - // $db->close(); -} diff --git a/index.php b/index.php index 325d6208..857424b9 100644 --- a/index.php +++ b/index.php @@ -115,6 +115,5 @@ require_once $template; session_write_close(); -closedb(); exit;