diff options
| author | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-15 00:49:52 +1000 |
|---|---|---|
| committer | Savetheinternet <savetheinternet@tinyboard.org> | 2011-08-15 00:49:52 +1000 |
| commit | e3f2aa8da34ae0094c0257b770c4089da7d2ca6f (patch) | |
| tree | 76999e23d4950fd0cd992521a9725d3e9a8868ad /inc/display.php | |
| parent | 21622388137b0306fd318aefffc3b4b88a4e75f9 (diff) | |
...
Diffstat (limited to 'inc/display.php')
| -rw-r--r-- | inc/display.php | 3 |
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', |
