From: hickert Date: Tue, 15 Apr 2008 10:15:34 +0000 (+0000) Subject: Added new Kernelfetch methods X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4fc1378d3e4277538312324b3e66b521cb1f90db;p=gosa.git Added new Kernelfetch methods git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10456 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 ff5eb0c09..299e5e9c9 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc @@ -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;