From: hickert Date: Fri, 31 Oct 2008 14:11:56 +0000 (+0000) Subject: Updated workstation startup X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=92be33b9f1a56fe5cc69c77518cfe351020dbbc8;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/branches/2.6-lhm@12847 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 407c6f402..855a17017 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){ @@ -1107,6 +1106,7 @@ class workstartup extends plugin $this->cache = array(); return; }else{ + foreach($tmp as $entry){ $rel = $entry['RELEASE']; $this->cache['SERVERS']['auto'][$rel] = $rel;