summaryrefslogtreecommitdiff
path: root/inc/display.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/display.php')
-rw-r--r--inc/display.php3
1 files changed, 0 insertions, 3 deletions
diff --git a/inc/display.php b/inc/display.php
index 43892686..b63fbbf1 100644
--- a/inc/display.php
+++ b/inc/display.php
@@ -65,8 +65,6 @@
function error($message) {
global $board, $mod, $config;
- if(function_exists('sql_close')) sql_close();
-
if(defined('STDIN')) {
// Running from CLI
die('Error: ' . $message);
@@ -89,7 +87,6 @@
function loginForm($error=false, $username=false, $redirect=false) {
global $config;
- if(function_exists('sql_close')) sql_close();
die(Element('page.html', Array(
'index'=>$config['root'],
'title'=>'Login',