summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local')
-rwxr-xr-xusr/local/www/guiconfig.inc23
1 files changed, 0 insertions, 23 deletions
diff --git a/usr/local/www/guiconfig.inc b/usr/local/www/guiconfig.inc
index 1b97572..1c6ab78 100755
--- a/usr/local/www/guiconfig.inc
+++ b/usr/local/www/guiconfig.inc
@@ -594,29 +594,6 @@ function wol_sort() {
usort($config['wol']['wolentry'], "wolcmp");
}
-function sort_rule_by_queue_priority() {
- global $g, $config;
- global $queues;
-
- function rqpcmp($a, $b) {
- global $queues;
-
- $ra = $queues[$a['outqueue']];
- $rb = $queues[$b['outqueue']];
-
- if ($ra == $rb)
- return 0;
- /* reverse sort - we want higher priority first */
- return ($ra < $rb) ? 1 : -1;
- }
-
- foreach($config['shaper']['queue'] as $q) {
- $queues[$q['name']] = $q['priority'];
- }
-
- usort($config['shaper']['rule'], "rqpcmp");
-}
-
function gentitle($title) {
global $navlevelsep;
if(!is_array($title))
OpenPOWER on IntegriCloud