[20987] Fixing a potential bug, removing uneeded code

Caeies <[email protected]> Wed, 27 Jan 2010 18:05:18 +0000
Newsgroups gmane.comp.web.phpgroupware.cvs
Message-ID <[email protected]>
Revision: 20987
          http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20987
Author:   Caeies
Date:     2010-01-27 18:05:18 +0000 (Wed, 27 Jan 2010)
Log Message:
-----------
Fixing a potential bug, removing uneeded code

Modified Paths:
--------------
    modules/phpgwapi/trunk/inc/class.sessions.inc.php

Modified: modules/phpgwapi/trunk/inc/class.sessions.inc.php
===================================================================
--- modules/phpgwapi/trunk/inc/class.sessions.inc.php	2010-01-27 18:04:02 UTC (rev 20986)
+++ modules/phpgwapi/trunk/inc/class.sessions.inc.php	2010-01-27 18:05:18 UTC (rev 20987)
@@ -221,7 +221,7 @@
 
 			$now = time();
 
-			$lid_parts	= $this->_set_login($login);
+			$this->_set_login($login);
 			$user_ip	= $this->_get_user_ip();
 
 			if ( $this->_login_blocked($login, $this->_get_user_ip()) )
@@ -1146,7 +1146,7 @@
 				{
 					$GLOBALS['phpgw']->log->message(array(
 						'text' => 'W-VerifySession, the domains %1 and %2 don\'t match',
-						'p1'   => $userid_array[1],
+						'p1'   => $this->_account_domain,
 						'p2'   => $GLOBALS['phpgw_info']['user']['domain'],
 						'line' => __LINE__,
 						'file' => __FILE__