[Fusionforge-commits] r7645 - trunk/gforge/common/include

Roland Mas lolando at libremir.placard.fr.eu.org
Thu May 14 18:57:49 CEST 2009


Author: lolando
Date: 2009-05-14 18:57:49 +0200 (Thu, 14 May 2009)
New Revision: 7645

Modified:
   trunk/gforge/common/include/session.php
Log:
Removed leftover code

Modified: trunk/gforge/common/include/session.php
===================================================================
--- trunk/gforge/common/include/session.php	2009-05-14 13:54:24 UTC (rev 7644)
+++ trunk/gforge/common/include/session.php	2009-05-14 16:57:49 UTC (rev 7645)
@@ -156,12 +156,6 @@
 		$res = db_query_params ('SELECT user_id,status,unix_pw FROM users WHERE user_name=$1 AND user_pw=$2',
 					array ($loginname,
 					       md5($passwd))) ;
-		$res = db_query("
-			SELECT user_id,status,unix_pw
-			FROM users
-			WHERE user_name='$loginname'
-			AND user_pw='".md5($passwd)."'
-		");
 	}
 	if (!$res || db_numrows($res) < 1) {
 		// No user whose MD5 passwd matches the MD5 of the provided passwd




More information about the Fusionforge-commits mailing list