Update to accounts->membership

This commit is contained in:
zone 2001-08-05 07:53:59 +00:00
parent 7f8beb1d37
commit 89fbd4e755

View File

@ -22,11 +22,12 @@
\**************************************************************************/ \**************************************************************************/
/* $Id$ */ /* $Id$ */
/*!
@class vfs /*!
@abstract virtual file system @class vfs
@description Authors: Zone @abstract Virtual File System
*/ @description Authors: Zone
*/
/* Relative defines. Used mainly by getabsolutepath () */ /* Relative defines. Used mainly by getabsolutepath () */
define (RELATIVE_ROOT, 1); define (RELATIVE_ROOT, 1);
@ -953,7 +954,7 @@ class vfs
} }
/* Check if they're in the group. If so, they have access */ /* Check if they're in the group. If so, they have access */
$memberships = $phpgw->accounts->memberships ($account_id); $memberships = $phpgw->accounts->membership ($account_id);
reset ($memberships); reset ($memberships);
while (list ($num, $group_array) = each ($memberships)) while (list ($num, $group_array) = each ($memberships))