[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.21,1.22
From: |
Mark A Peters <address@hidden> |
Subject: |
[Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.21,1.22 |
Date: |
Sat, 12 Jan 2002 22:56:37 -0500 |
Update of /cvsroot/phpgroupware/admin/inc
In directory subversions:/tmp/cvs-serv15004/admin/inc
Modified Files:
class.boaccounts.inc.php
Log Message:
Now checks to make sure the groups _lid is not blank when changing the _lid.
Also, added calls to sessions->delete_cache() so the users cache can be
re-built upon next activity.
Index: class.boaccounts.inc.php
===================================================================
RCS file: /cvsroot/phpgroupware/admin/inc/class.boaccounts.inc.php,v
retrieving revision 1.21
retrieving revision 1.22
diff -C2 -r1.21 -r1.22
*** class.boaccounts.inc.php 10 Jan 2002 18:18:44 -0000 1.21
--- class.boaccounts.inc.php 13 Jan 2002 03:56:34 -0000 1.22
***************
*** 351,355 ****
$account_user = Array();
@reset($temp_users);
! while(list($key,$user_id) = each($temp_users))
{
$account_user[$user_id] = ' selected';
--- 351,355 ----
$account_user = Array();
@reset($temp_users);
! while($temp_users && list($key,$user_id) =
each($temp_users))
{
$account_user[$user_id] = ' selected';
***************
*** 415,419 ****
// Set new account_lid, if needed
! if($old_group_info['account_lid'] <>
$group_info['account_name'])
{
$group->data['account_lid'] =
$group_info['account_name'];
--- 415,419 ----
// Set new account_lid, if needed
! if($group_info['account_name'] &&
$old_group_info['account_lid'] <> $group_info['account_name'])
{
$group->data['account_lid'] =
$group_info['account_name'];
***************
*** 448,451 ****
--- 448,452 ----
."where session_lid='" .
$GLOBALS['phpgw']->accounts->id2name($user_id)
. '@' .
$GLOBALS['phpgw_info']['user']['domain'] . "'",__LINE__,__FILE__);
+
$GLOBALS['phpgw']->session->delete_cache($user_id);
}
}
***************
*** 468,471 ****
--- 469,474 ----
. '@' .
$GLOBALS['phpgw_info']['user']['domain'] . "'",__LINE__,__FILE__);
+
$GLOBALS['phpgw']->session->delete_cache($user_id);
+
// The following sets any default preferences
needed for new applications..
// This is smart enough to know if previous
preferences were selected, use them.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] CVS: admin/inc class.boaccounts.inc.php,1.21,1.22,
Mark A Peters <address@hidden> <=