summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9efe35c)
raw | patch | inline | side by side (parent: 9efe35c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Jun 2008 13:10:56 +0000 (13:10 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 16 Jun 2008 13:10:56 +0000 (13:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11341 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index 8cc81a1b41be69d5ccca2f887a958151bc1071cc..4d2ea8c6fec2de8ff56fc680bd6941bccc558c93 100644 (file)
*/
if($force || !isset($this->cache['SERVERS'])){
- /* Only add inherit option, if we are part in an object group
- */
- if($this->member_of_ogroup){
- $this->cache['SERVERS']['inherited']=array();
- }
-
$o_queue = new gosaSupportDaemon();
$tmp = $o_queue->FAI_get_server();
if($o_queue->is_error()){
$rel = $entry['RELEASE'];
$this->cache['SERVERS']['auto'][$rel] = $rel;
$this->cache['SERVERS'][$entry['SERVER']][$rel] = $rel;
+ uksort($this->cache['SERVERS']['auto'], 'strnatcasecmp');
+ uksort($this->cache['SERVERS'][$entry['SERVER']], 'strnatcasecmp');
}
}
}
}
}
}
+ uksort($this->cache['SERVERS'], 'strnatcasecmp');
+
+ /* Only add inherit option, if we are part in an object group
+ */
+ if($this->member_of_ogroup){
+ $this->cache['SERVERS'] = array_merge(array('inherited' => array()),$this->cache['SERVERS']);
+ }
}
/* Get list of available kernel for this release