From cbcf39dfe7d99c8fe255aa527d8f8e9f050b8987 Mon Sep 17 00:00:00 2001 From: Savetheinternet Date: Thu, 28 Jul 2011 20:35:53 +1000 Subject: [PATCH] removed sql_open call which was made unnecessary previously --- install.php | 4 ---- 1 file changed, 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