]> git.mxchange.org Git - friendica.git/commitdiff
undo last checkin
authorFriendika <info@friendika.com>
Wed, 6 Jul 2011 01:21:56 +0000 (18:21 -0700)
committerFriendika <info@friendika.com>
Wed, 6 Jul 2011 01:21:56 +0000 (18:21 -0700)
boot.php
include/dba.php
index.php

index 5efba4acc7ba39b891dbd69ce83a0f40c8b395f7..c95e24dc1c889e7c0d00e8ca7c571e0d99213984 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -989,7 +989,6 @@ function autoname($len) {
 if(! function_exists('killme')) {
 function killme() {
        session_write_close();
-       closedb();
        exit;
 }}
 
index 32f1ac3edb9e0c005aacf242527d53e68215359f..70c27515c4499d268327285c7809183cc65a5890 100644 (file)
@@ -215,10 +215,3 @@ function dbesc_array(&$arr) {
 }}             
 
 
-if(! function_exists('closedb')) {
-function closedb() {
-       global $db;
-       if($db && $db->connected)
-               $db->close();
-}}
-
index a0a0bc7795977f21afaceb357fac620b80fc9270..2e24c5b015c3130fafba4d9df2ea5a51e449bc13 100644 (file)
--- a/index.php
+++ b/index.php
@@ -326,5 +326,4 @@ else
        require_once(str_replace($lang . '/', '', $template));
 
 session_write_close();
-closedb();
 exit;