removed sql_open call which was made unnecessary previously

This commit is contained in:
Savetheinternet 2011-07-28 20:35:53 +10:00
parent 8b4f3c3754
commit cbcf39dfe7

View File

@ -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