summaryrefslogtreecommitdiff
path: root/inc/database.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/database.php')
-rw-r--r--inc/database.php8
1 files changed, 1 insertions, 7 deletions
diff --git a/inc/database.php b/inc/database.php
index 792eae58..014c2e1e 100644
--- a/inc/database.php
+++ b/inc/database.php
@@ -29,12 +29,6 @@
}
}
- function sql_close() {
- global $pdo, $config;
- if(!$config['db']['persistent'])
- $pdo = NULL;
- }
-
function prepare($query) {
global $pdo, $debug, $config;
if($config['debug']) {
@@ -65,4 +59,4 @@
return $err[2];
}
}
-?> \ No newline at end of file
+?>