diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-06-21 18:22:06 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-06-21 18:22:06 +0000 |
commit | 3ea074b8a25622831e8e4065ab6fe37e38013e56 (patch) | |
tree | 5dd7c18b38c9bddcbc2d5839f6a2a0f633d259fc /usr/local | |
parent | 3e321df2be59d2bb4c2ffd51e410fe120517e316 (diff) | |
download | pfsense-3ea074b8a25622831e8e4065ab6fe37e38013e56.zip pfsense-3ea074b8a25622831e8e4065ab6fe37e38013e56.tar.gz |
Remove unused code.
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/guiconfig.inc | 23 |
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)) |