[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] phpgwapi/inc/sessions class.sessions_db.inc.php
From: |
Dave Hall |
Subject: |
[Phpgroupware-cvs] phpgwapi/inc/sessions class.sessions_db.inc.php |
Date: |
Wed, 27 Dec 2006 06:09:59 +0000 |
CVSROOT: /sources/phpgwapi
Module name: phpgwapi
Changes by: Dave Hall <skwashd> 06/12/27 06:09:59
Modified files:
inc/sessions : class.sessions_db.inc.php
Log message:
notice
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/phpgwapi/inc/sessions/class.sessions_db.inc.php?cvsroot=phpgwapi&r1=1.1&r2=1.2
Patches:
Index: class.sessions_db.inc.php
===================================================================
RCS file: /sources/phpgwapi/phpgwapi/inc/sessions/class.sessions_db.inc.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- class.sessions_db.inc.php 9 Sep 2006 11:35:41 -0000 1.1
+++ class.sessions_db.inc.php 27 Dec 2006 06:09:59 -0000 1.2
@@ -10,7 +10,7 @@
* @license http://www.fsf.org/licenses/lgpl.html GNU Lesser General
Public License
* @package phpgwapi
* @subpackage accounts
- * @version $Id: class.sessions_db.inc.php,v 1.1 2006/09/09 11:35:41
skwashd Exp $
+ * @version $Id: class.sessions_db.inc.php,v 1.2 2006/12/27 06:09:59
skwashd Exp $
* @link http://www.sanisoft.com/phplib/manual/session.php
*/
@@ -93,13 +93,14 @@
$this->log_access($this->sessionid); // log
logout-time
// Only do the following, if where working with the
current user
- if ($sessionid ==
$GLOBALS['phpgw_info']['user']['sessionid'])
+ if ( isset($GLOBALS['phpgw_info']['user']['sessionid'])
+ && $sessionid ==
$GLOBALS['phpgw_info']['user']['sessionid'])
{
$this->clean_sessions();
}
$GLOBALS['phpgw']->db->transaction_commit();
- return True;
+ return true;
}
/*************************************************************************\
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] phpgwapi/inc/sessions class.sessions_db.inc.php,
Dave Hall <=