summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: bfce84b)
raw | patch | inline | side by side (parent: bfce84b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Mar 2010 13:35:11 +0000 (13:35 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Mar 2010 13:35:11 +0000 (13:35 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17357 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiManagement.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiManagement.inc b/gosa-plugins/fai/admin/fai/class_faiManagement.inc
index 38401365450f2bbbf09015767dcbfbfc1da354ed..07ab52571051350cc397bdcf7daef479919b0d56 100644 (file)
$acl = $this->ui->get_permissions($dn,"fai/".$type[1]);
if(preg_match("/d/",$acl)){
- // Now save changes
- $str = management::removeEntryConfirmed($action,array($dn),$all,$type[0],$type[2],"fai",$type[1]);
- if(!empty($str)) return($str);
+ // Delete the object
+ $this->dn = $dn;
+ $tabClass = $type[0];
+ $this->tabObject= new $tabClass($this->config,$this->config->data['TABS'][$type[2]],
+ $this->dn, "fai", true, true);
+ $this->tabObject->set_acl_base($this->dn);
+ $this->tabObject->parent = &$this;
+ $this->tabObject->by_object[$type[1]]->remove_from_parent ();
+
FAI::save_release_changes_now();
$to_del = FAI::clean_up_releases($dn);
foreach($to_del as $dn){
}
}
}
+
+ $this->remove_lock();
+ $this->closeDialogs();
/* Normally this shouldn't be reached, send some extra
logs to notify the administrator */