summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-06-16 08:13:33 +0200
committerTimotheus Pokorra <tp@tbits.net>2015-06-16 08:13:33 +0200
commitf9ee03fc12a6bbd937b2b4df3052d520af48b34a (patch)
tree47ea9c43491cb9ff04a3a3f00daad74ceeaec641
parent6f9f8d3c1bd1fb2f22d0457e378b033c95104fe2 (diff)
downloadwebadmin-f9ee03fc12a6bbd937b2b4df3052d520af48b34a.tar.gz
revert previous commit (#5100).
this needs to be properly fixed in php-Net-LDAP3, delete_entry_recursive
-rw-r--r--bin/domain_delete.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/bin/domain_delete.php b/bin/domain_delete.php
index 8c30dfd..4dbe729 100644
--- a/bin/domain_delete.php
+++ b/bin/domain_delete.php
@@ -112,12 +112,6 @@ function delete_domain($domain_dn, $domain)
}
$entries = array();
-
- // for unknown reasons, this will not be deleted recursively when deleting the domain.
- // resulting in "Operation not allowed on non-leaf"
- // so we specifically delete the leaf here
- $entries[] = "cn=kolab-admin,".$inetdomainbasedn;
-
$entries[] = $inetdomainbasedn;
$cn = str_replace('.', '_', $domain_name);