Code

Updated workstation startup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Oct 2008 14:11:56 +0000 (14:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 31 Oct 2008 14:11:56 +0000 (14:11 +0000)
-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

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index 407c6f4022995757e957a5edeaba66783d7c742d..855a170175eec48ea5ff62dac5d2902ce03234e9 100644 (file)
@@ -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;