[pLog-svn] r5361 - plog/branches/lifetype-1.2/class/dao/userdata

oscar at devel.lifetype.net oscar at devel.lifetype.net
Sat Apr 28 12:42:40 EDT 2007


Author: oscar
Date: 2007-04-28 12:42:40 -0400 (Sat, 28 Apr 2007)
New Revision: 5361

Modified:
   plog/branches/lifetype-1.2/class/dao/userdata/phpbb2userdataprovider.class.php
Log:
Removed some debug information.

Modified: plog/branches/lifetype-1.2/class/dao/userdata/phpbb2userdataprovider.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/userdata/phpbb2userdataprovider.class.php	2007-04-28 16:36:00 UTC (rev 5360)
+++ plog/branches/lifetype-1.2/class/dao/userdata/phpbb2userdataprovider.class.php	2007-04-28 16:42:40 UTC (rev 5361)
@@ -41,9 +41,7 @@
          * @return true if user and password correct or false otherwise.
          */
         function authenticateUser( $user, $pass )
-        {
-			print("authenticating: $user<br/>");
-	
+        {	
 	        $query = "SELECT * FROM ".$this->_phpbbprefix."users WHERE username = '".Db::qstr( $user )."'
 	                  AND user_password = '".md5( $pass )."' AND user_active > 0";
 	                  
@@ -343,8 +341,6 @@
 		    	          Db::qstr($user->getPictureId())."','".
 		    	          Db::qstr($user->getId())."','".
 		    	          Db::qstr($user->getStatus())."');";
-				// we also need to grant this user login access at least
-				$this->grantLoginAccess( $user->getId());
 	    	}
 	    	
 	    	$result = $this->Execute( $query );



More information about the pLog-svn mailing list