mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
removed bug
This commit is contained in:
parent
0f7aa325e2
commit
0e967d2b64
@ -181,22 +181,6 @@
|
||||
$cd = 99; // Come out with a code for this
|
||||
}
|
||||
|
||||
// create a subtree for the phpgw settings
|
||||
|
||||
$preferences["objectclass"] = "organizationalunit";
|
||||
$preferences["description"] = "subtree for phpgw preferences";
|
||||
$preferences["ou"] = "phpgwpreferences";
|
||||
|
||||
$dn = "ou=phpgwpreferences, $dn";
|
||||
|
||||
// add the entries
|
||||
if (ldap_add($ldap, $dn, $preferences)) {
|
||||
$cd = 28;
|
||||
} else {
|
||||
$cd = 99; // Come out with a code for this
|
||||
}
|
||||
|
||||
|
||||
@ldap_close($ldap);
|
||||
|
||||
add_default_preferences($account_info["account_id"]);
|
||||
@ -289,6 +273,8 @@
|
||||
{
|
||||
global $phpgw_info, $phpgw, $ldap;
|
||||
|
||||
#ldap_delete($ldap,"appl=email, ou=phpgwpreferences,".$account_id);
|
||||
#ldap_delete($ldap,"ou=phpgwpreferences,".$account_id);
|
||||
ldap_delete($ldap,$account_id);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user