From 4fc1378d3e4277538312324b3e66b521cb1f90db Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 15 Apr 2008 10:15:34 +0000 Subject: [PATCH] Added new Kernelfetch methods git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10456 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../goto/admin/systems/goto/class_workstationStartup.inc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.30.2