From bd7e49c6de88dc95137ee6be7563b0ea9e4369ac Mon Sep 17 00:00:00 2001 From: cajus Date: Wed, 23 Aug 2006 09:55:16 +0000 Subject: [PATCH] Fixed mapping git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@4508 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationGeneric.inc | 2 +- plugins/admin/systems/class_workstationStartup.inc | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/plugins/admin/systems/class_workstationGeneric.inc b/plugins/admin/systems/class_workstationGeneric.inc index 002d3f378..d5ceb2ae9 100644 --- a/plugins/admin/systems/class_workstationGeneric.inc +++ b/plugins/admin/systems/class_workstationGeneric.inc @@ -50,7 +50,7 @@ class workgeneric extends plugin "ghGfxAdapter", "ghSoundAdapter", "gotoLastUser", "l","FAIscript"); var $objectclasses= array("top", "gotoWorkstation", "GOhard","FAIobject"); - var $mapActions = array("reboot" => "", + var $mapActions = array("reboot" => "localboot", "instant_update" => "softupdate", "update" => "sceduledupdate", "reinstall" => "install", diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 6df7411c7..ba39d60db 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -997,13 +997,6 @@ class workstartup extends plugin /* Remove FAI objects if no FAI class is selected */ if((count($this->FAIclass)==0) && (!isset($checkFAIstate['FAIstate']))){ - $tmp = array(); - foreach($this->attrs['objectClass'] as $class){ - if($class != "FAIobject"){ - $tmp[] = $class; - } - } - $this->attrs['objectClass'] = $tmp; $this->attrs['FAIclass'] = array(); $this->attrs['FAIdebianMirror'] = array(); } -- 2.30.2