forked from extern/egroupware
rename members() to member() to avoid potential php3 conflict with LDAP accounts and class var, $members
This commit is contained in:
parent
a8aa9ac8b8
commit
b673d7c52c
@ -185,7 +185,7 @@
|
||||
/* $entry["objectclass"] = ''; */
|
||||
$entry['objectclass'][0] = 'top';
|
||||
$entry['objectclass'][1] = 'posixGroup';
|
||||
$members = $this->members($this->data["account_id"]);
|
||||
$members = $this->member($this->data["account_id"]);
|
||||
$entry['memberuid'] = array();
|
||||
for ($i=0;$i<count($members);$i++)
|
||||
{
|
||||
@ -229,7 +229,7 @@
|
||||
{
|
||||
if ($this->data['account_type'] == 'g' && $this->group_context )
|
||||
{
|
||||
$members = $this->members($this->data['account_id']);
|
||||
$members = $this->member($this->data['account_id']);
|
||||
$entry['memberuid'] = array();
|
||||
for ($i=0;$i<count($members);$i++)
|
||||
{
|
||||
|
@ -153,7 +153,7 @@
|
||||
return $this->memberships;
|
||||
}
|
||||
|
||||
function members ($accountid = '')
|
||||
function member($accountid = '')
|
||||
{
|
||||
$account_id = get_account_id($accountid);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user