From: hickert Date: Fri, 31 Oct 2008 14:05:18 +0000 (+0000) Subject: Updated workstation startup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1165375526ec5616e7495ea0bf1c1ea84d596fb2;p=gosa.git Updated workstation startup -Pre select "inherited" for FAI settings, if member in ogroup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12846 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc index 480bc12fe..7f910757e 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -114,8 +114,6 @@ class workstartup extends plugin */ if($this->fai_activated) { - $this->update_fai_cache(TRUE); - /* Parse used FAIclasses (stored as string). * The single classes are seperated by ' '. * There is also the release type given, after first @@ -234,6 +232,7 @@ class workstartup extends plugin } } + $this->update_fai_cache(); if($this->fai_activated && !$this->si_fai_action_failed && $this->si_active){ @@ -1085,6 +1084,7 @@ class workstartup extends plugin $this->cache = array(); return; }else{ + foreach($tmp as $entry){ $rel = $entry['FAI_RELEASE']; $this->cache['SERVERS']['auto'][$rel] = $rel;