summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/widgets
diff options
context:
space:
mode:
authorJared Dillard <jdillard@netgate.com>2016-03-02 16:21:36 -0600
committerJared Dillard <jdillard@netgate.com>2016-03-02 16:21:36 -0600
commit3b53c22761d63a6a9fa806fa4d22838c2afd618e (patch)
treef1cc68cf0d0b62df1beb0dfc11a989ad3a6a5a1f /src/usr/local/www/widgets
parentc46856253212b3601981fdae116a989bba167450 (diff)
downloadpfsense-3b53c22761d63a6a9fa806fa4d22838c2afd618e.zip
pfsense-3b53c22761d63a6a9fa806fa4d22838c2afd618e.tar.gz
Ticket #5905 remove unused code
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r--src/usr/local/www/widgets/widgets/system_information.widget.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/usr/local/www/widgets/widgets/system_information.widget.php b/src/usr/local/www/widgets/widgets/system_information.widget.php
index 9bbaac1..61ca9d0 100644
--- a/src/usr/local/www/widgets/widgets/system_information.widget.php
+++ b/src/usr/local/www/widgets/widgets/system_information.widget.php
@@ -376,7 +376,6 @@ function stats(x) {
updateTemp(values[4]);
updateInterfaceStats(values[6]);
updateInterfaces(values[7]);
- updateGatewayStats(values[8]);
updateCpuFreq(values[9]);
updateLoadAverage(values[10]);
updateMbuf(values[11]);
@@ -459,21 +458,6 @@ function updateStateMeter(x) {
}
}
-function updateGatewayStats(x) {
- if (widgetActive("gateways")) {
- gateways_split = x.split(",");
- for (var y=0; y<gateways_split.length; y++) {
- gateways_field_split = gateways_split[y].split("^");
- if ($('#gateway' + (y + 1))) {
- $('#gateway' + (y + 1)).html(gateways_field_split[0]);
- if (gateways_field_split[1]) {
- $('#gateway' + (y + 1)).css('background-color',gateways_field_split[1]);
- }
- }
- }
- }
-}
-
function updateCpuFreq(x) {
if ($('#cpufreq')) {
$("#cpufreq").html(x);
OpenPOWER on IntegriCloud