summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d83dc92)
raw | patch | inline | side by side (parent: d83dc92)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Dec 2009 11:39:40 +0000 (11:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 2 Dec 2009 11:39:40 +0000 (11:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14859 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/Changelog | patch | blob | history | |
gosa-core/plugins/admin/groups/class_groupGeneric.inc | patch | blob | history | |
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/Changelog b/gosa-core/Changelog
index d4733b031a4a4c7ae1904424ddfeee09ea18ed17..524cb457865db6fd1fc94abfad79d5f09dd34247 100644 (file)
--- a/gosa-core/Changelog
+++ b/gosa-core/Changelog
- Added more information to DHCP service dialog (thanks to Mathieu)
- Fixed generation of kerberos host keys when DNS is enabled
- Fixed template error message when no sshkey plugin is enabled
+ - Speed up group and user removal by large factors
* gosa 2.6.6
- Added ssh public key management
diff --git a/gosa-core/plugins/admin/groups/class_groupGeneric.inc b/gosa-core/plugins/admin/groups/class_groupGeneric.inc
index 8440c1c08f5cb2840511ea70501dacd589e575ea..82fed9121cd643897cd8e792d3c03b617c865e1d 100644 (file)
$acl->save();
}
- /* Remove ACL dependencies too,
- */
- $tmp = new acl($this->config,$this->parent,$this->dn);
- $tmp->remove_acl();
+ /* Remove ACL dependencies, too */
+ acl::remove_acl_for($this->dn);
/* Send signal to the world that we've done */
$this->handle_post_events("remove");
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index a64348904e3c74b69d46dad8d8f253d57c8b8191..2ba03a1f2e59d26bfc07ee11ef6e7555cc27b06d 100644 (file)
}
/* Remove ACL dependencies too */
- $tmp = new acl($this->config,$this->parent,$this->dn);
- $tmp->remove_acl();
+ acl::remove_acl_for($this->dn);
/* Optionally execute a command after we're done */
$this->handle_post_events("remove",array("uid" => $this->uid));