Code

Added new Kernelfetch methods
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 10:15:34 +0000 (10:15 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 15 Apr 2008 10:15:34 +0000 (10:15 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10456 594d385d-05f5-0310-b6e9-bd551577e9d8

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

index ff5eb0c095c138361034aa8ca56969f49f617bfd..299e5e9c9596a2bd72277fa5240dddf13d4eae5d 100644 (file)
@@ -1195,15 +1195,14 @@ class workstartup extends plugin
 
     /* Get list of available kernel for this release 
      */
+    $force = TRUE;
     if($force || !isset($this->cache['KERNELS'][$release])){
       $o_queue = new gosaSupportDaemon();
       $tmp = $o_queue->FAI_get_kernels($release);
       $this->cache['KERNELS'][$release] = array();
-
       foreach($this->gotoBootKernels as $name => $default){
         $this->cache['KERNELS'][$release][$name] = $default;
       }
-
       foreach($tmp as $kernel){
         if(empty($kernel)) continue;
         $this->cache['KERNELS'][$release][$kernel]=$kernel;