mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
undo last checkin
This commit is contained in:
parent
1a4a6b5ff9
commit
db30a2342c
3 changed files with 0 additions and 9 deletions
1
boot.php
1
boot.php
|
@ -989,7 +989,6 @@ function autoname($len) {
|
|||
if(! function_exists('killme')) {
|
||||
function killme() {
|
||||
session_write_close();
|
||||
closedb();
|
||||
exit;
|
||||
}}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue