Code

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

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

index 480bc12fe6a43cc7bf88591811b23d8edf50dadc..7f910757eb38ec95f608e970cadcb4938d783e69 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){
 
@@ -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;