Minor cleanups.

This commit is contained in:
skeeter 2002-09-17 02:33:03 +00:00
parent 62fdc57839
commit 720df8a650

View File

@ -604,12 +604,12 @@
if(!$allValues[0][$key][0]) if(!$allValues[0][$key][0])
{ {
/* attribute was not in LDAP, add it */ /* attribute was not in LDAP, add it */
ldap_mod_add($this->ds, $allValues[0]["dn"], $tmpentry); ldap_mod_add($this->ds, $allValues[0]['dn'], $tmpentry);
} }
else else
{ {
/* attribute was in LDAP, modify it */ /* attribute was in LDAP, modify it */
ldap_modify($this->ds, $allValues[0]["dn"], $tmpentry); ldap_modify($this->ds, $allValues[0]['dn'], $tmpentry);
} }
} }
} }
@ -636,7 +636,7 @@
$tmpentry['phpgwaccounttype'] = $account_info['account_type']; $tmpentry['phpgwaccounttype'] = $account_info['account_type'];
$tmpentry['phpgwaccountexpires'] = $account_info['account_expires']; $tmpentry['phpgwaccountexpires'] = $account_info['account_expires'];
} }
ldap_modify($this->ds, $allValues[0]["dn"], $tmpentry); ldap_modify($this->ds, $allValues[0]['dn'], $tmpentry);
} }
else else
{ {
@ -835,4 +835,4 @@
return $allValues[0]['dn']; return $allValues[0]['dn'];
} }
} }