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

mark at devel.lifetype.net mark at devel.lifetype.net
Fri Mar 23 00:26:47 EDT 2007


Author: mark
Date: 2007-03-23 00:26:46 -0400 (Fri, 23 Mar 2007)
New Revision: 5161

Modified:
   plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php
Log:
Remove a log that we don't need here!

Modified: plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php
===================================================================
--- plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-22 21:17:13 UTC (rev 5160)
+++ plog/branches/lifetype-1.2/class/dao/userdata/lifetypeuserdataprovider.class.php	2007-03-23 04:26:46 UTC (rev 5161)
@@ -69,14 +69,13 @@
         function getUserInfoFromUsername( $username )
         {
         	$user = $this->get( "user", $username, CACHE_USERIDBYNAME, Array( CACHE_USERINFO => "getId" ));
-		if( $user ) {
-			if( $user->getUsername() != $username ) {
-				$this->log->error( "MySQL returned object (".$user->getId().",".$user->getUsername().") for username = ".$username );
-				$user = false;
+			if( $user ) {
+				if( $user->getUsername() != $username ) {
+					$user = false;
+				}
 			}
-		}
 
-		return( $user );
+			return( $user );
         }
 
         /**



More information about the pLog-svn mailing list