diff -r 968dbd07be9a install.php --- a/install.php Tue Dec 11 11:23:24 2007 +0900 +++ b/install.php Wed Dec 12 12:16:34 2007 +0900 @@ -266,18 +266,6 @@ if ($INSTALL['stage'] == DIRECTORY) { /// Try to connect to the database. If that fails then try to create the database if ($INSTALL['stage'] == DATABASE) { - - /// different format for postgres7 by socket - if ($INSTALL['dbtype'] == 'postgres7' and ($INSTALL['dbhost'] == 'localhost' || $INSTALL['dbhost'] == '127.0.0.1')) { - $INSTALL['dbhost'] = "user='{$INSTALL['dbuser']}' password='{$INSTALL['dbpass']}' dbname='{$INSTALL['dbname']}'"; - $INSTALL['dbuser'] = ''; - $INSTALL['dbpass'] = ''; - $INSTALL['dbname'] = ''; - - if ($INSTALL['prefix'] == '') { /// must have a prefix - $INSTALL['prefix'] = 'mdl_'; - } - } if ($INSTALL['dbtype'] == 'mysql') { /// Check MySQL extension is present if (!extension_loaded('mysql')) {