[Fusionforge-commits] r10989 - trunk/src/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Thu Oct 14 17:26:09 CEST 2010


Author: lolando
Date: 2010-10-14 17:26:09 +0200 (Thu, 14 Oct 2010)
New Revision: 10989

Modified:
   trunk/src/common/include/pre.php
Log:
Remove systematic connection to the database, since it's automatically established on the fly

Modified: trunk/src/common/include/pre.php
===================================================================
--- trunk/src/common/include/pre.php	2010-10-14 15:06:50 UTC (rev 10988)
+++ trunk/src/common/include/pre.php	2010-10-14 15:26:09 UTC (rev 10989)
@@ -151,7 +151,7 @@
 
 // Database abstraction
 require_once $gfcommon.'include/database-pgsql.php';
-db_connect();
+
 if (!$GLOBALS['gfconn']) {
 	print forge_get_config ('forge_name')." Could Not Connect to Database: ".db_error();
 	exit;




More information about the Fusionforge-commits mailing list