aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-07-05 18:21:56 -0700
committerFriendika <info@friendika.com>2011-07-05 18:21:56 -0700
commitdb30a2342ceecbaed0b72e02d37422700b0d588a (patch)
tree8df5cdf46a914051bb758918352b2ce63f885bc7
parent1a4a6b5ff90d0d557ed6ea1a1045f9713c83bbbd (diff)
downloadvolse-hubzilla-db30a2342ceecbaed0b72e02d37422700b0d588a.tar.gz
volse-hubzilla-db30a2342ceecbaed0b72e02d37422700b0d588a.tar.bz2
volse-hubzilla-db30a2342ceecbaed0b72e02d37422700b0d588a.zip
undo last checkin
-rw-r--r--boot.php1
-rw-r--r--include/dba.php7
-rw-r--r--index.php1
3 files changed, 0 insertions, 9 deletions
diff --git a/boot.php b/boot.php
index 5efba4acc..c95e24dc1 100644
--- a/boot.php
+++ b/boot.php
@@ -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();
-}}
-
diff --git a/index.php b/index.php
index a0a0bc779..2e24c5b01 100644
--- a/index.php
+++ b/index.php
@@ -326,5 +326,4 @@ else
require_once(str_replace($lang . '/', '', $template));
session_write_close();
-closedb();
exit;