summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6967de0)
raw | patch | inline | side by side (parent: 6967de0)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 09:32:45 +0000 (09:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 19 Oct 2005 09:32:45 +0000 (09:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1619 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/systems/class_workstationService.inc | patch | blob | history | |
plugins/admin/systems/class_workstationStartup.inc | patch | blob | history |
diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc
index a074429e75d3451fdb31693b8e1bb2a4387bf85b..495e8dd370420f980d3e8dcc70670cfbf40259d5 100644 (file)
show_ldap_error($ldap->get_error());
$this->handle_post_events("remove");
*/
-
+
+ /* This only removes the attributes from this tab,
+ * and not hte whole entry
+ */
$ldap= $this->config->get_ldap_link();
plugin::remove_from_parent();
$ldap->cd($this->dn);
diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc
index ac0077fd9ea1796481211dc733f751698b51e8c4..c60e83b7c92efa7e8c126ade467fe118c7da9455 100644 (file)
return($tmp);
}
-
function check()
{
$messages = array();
-
/* If there are packages selected, but no mirror show error */
if(($this->FAIdebianMirror == "none")&&(count($this->FAIclass)>0)){
$messages[]=_("Please select a 'FAI server' or remove the 'FAI classes'.");
$ldap= $this->config->get_ldap_link();
plugin::remove_from_parent();
-
+
+ /* Remove additional attributes.*/
foreach(array("gotoModules", "gotoAutoFs", "gotoFilesystem") as $attr){
$this->attrs [$attr] = array();
}