From c06a2a9f97abc7571ee1c1d288aa372ec8c49d8b Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 Oct 2005 09:32:45 +0000 Subject: [PATCH] Some additional comments git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1619 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationService.inc | 5 ++++- plugins/admin/systems/class_workstationStartup.inc | 5 ++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/plugins/admin/systems/class_workstationService.inc b/plugins/admin/systems/class_workstationService.inc index a074429e7..495e8dd37 100644 --- a/plugins/admin/systems/class_workstationService.inc +++ b/plugins/admin/systems/class_workstationService.inc @@ -198,7 +198,10 @@ class workservice extends plugin 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 ac0077fd9..c60e83b7c 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -184,11 +184,9 @@ class workstartup extends plugin 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'."); @@ -362,7 +360,8 @@ class workstartup extends plugin $ldap= $this->config->get_ldap_link(); plugin::remove_from_parent(); - + + /* Remove additional attributes.*/ foreach(array("gotoModules", "gotoAutoFs", "gotoFilesystem") as $attr){ $this->attrs [$attr] = array(); } -- 2.30.2