rename members() to member() to avoid potential php3 conflict with LDAP accounts and class var, $members

This commit is contained in:
Miles Lott 2001-10-22 13:05:07 +00:00
parent a8aa9ac8b8
commit b673d7c52c
2 changed files with 3 additions and 3 deletions

View File

@ -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++)
{

View File

@ -153,7 +153,7 @@
return $this->memberships;
}
function members ($accountid = '')
function member($accountid = '')
{
$account_id = get_account_id($accountid);