summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bdfa0bf)
raw | patch | inline | side by side (parent: bdfa0bf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 12:10:29 +0000 (12:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 30 Nov 2006 12:10:29 +0000 (12:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5274 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_plugin.inc | patch | blob | history |
index 72793b3c75ef87e45c321b900f6129c13d6e94d5..c32eca5f0c17daddceda8a87c5c0b04ff6cf9899 100644 (file)
--- a/include/class_plugin.inc
+++ b/include/class_plugin.inc
$ui = get_userinfo();
$old_dn = $this->dn;
$this->dn = $dn;
-
- if($this->acl_is_removeable() && $this->acl_is_createable()){
- $ldap = $this->config->get_ldap_link();
- $ldap->cd($this->config->current['BASE']);
- $ldap->rmdir_recursive($dn);
- }else{
- print_red (_("You are not allowed to delete this snapshot!"));
- }
+ $ldap = $this->config->get_ldap_link();
+ $ldap->cd($this->config->current['BASE']);
+ $ldap->rmdir_recursive($dn);
$this->dn = $old_dn;
}