diff --git a/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/trunk/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 4d1eae95178eeb4d55674f218d7f885de763fefb..665f3348aa37289e0cff1c18a55b098ef482d2bc 100644 (file)
if(preg_match("/fai_remove/i",$name)){
$value = base64_decode(preg_replace("/_.*$/i","",preg_replace("/fai_remove_/i","",$name)));
unset($this->FAIclass[$value]);
+ if($this->FAIclass == array()){
+ /* class list is emtpy. Check whether the system is part of an object group and set
+ the FAI mirror to "inherited" in this case. */
+ if ($this->member_of_ogroup){
+ $this->FAIdebianMirror = "inherited";
+ }
+ }
}
}
}