summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@tinyboard.org>2011-07-28 20:35:53 +1000
committerSavetheinternet <savetheinternet@tinyboard.org>2011-07-28 20:35:53 +1000
commitcbcf39dfe7d99c8fe255aa527d8f8e9f050b8987 (patch)
tree5b2b2d04fbea66afd644c61ff52695ed07bfc4fe
parent8b4f3c3754eb842f1299555277fd5717ccc18501 (diff)
removed sql_open call which was made unnecessary previously
-rw-r--r--install.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/install.php b/install.php
index 5c452600..20806661 100644
--- a/install.php
+++ b/install.php
@@ -16,8 +16,6 @@
if(file_exists($config['has_installed'])) {
- sql_open();
-
// Check the version number
$version = trim(file_get_contents($config['has_installed']));
if(empty($version))
@@ -393,8 +391,6 @@
buildJavascript();
- sql_open();
-
$sql = @file_get_contents('install.sql') or error("Couldn't load install.sql.");
// This code is probably horrible, but what I'm trying