diff options
author | Renato Botelho <renato@netgate.com> | 2016-05-20 11:27:07 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-20 11:27:07 -0300 |
commit | ed285109ac0c21d53d10e1249ac7cd1072965710 (patch) | |
tree | ada5e453ac2dcf7006fe0ca993304914fcd1153c /src/etc/inc/rrd.inc | |
parent | bbdbf3d3a88d30be4ce8d9fa6c9e8bfbe4dec701 (diff) | |
parent | d4af7f9e4a332278a80ba2a9c56df2064dc579d9 (diff) | |
download | pfsense-ed285109ac0c21d53d10e1249ac7cd1072965710.zip pfsense-ed285109ac0c21d53d10e1249ac7cd1072965710.tar.gz |
Merge pull request #2932 from SilvioGiunge/remover_global_vars
Diffstat (limited to 'src/etc/inc/rrd.inc')
-rw-r--r-- | src/etc/inc/rrd.inc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc index 7f85fe8..074c05f 100644 --- a/src/etc/inc/rrd.inc +++ b/src/etc/inc/rrd.inc @@ -54,23 +54,6 @@ /* include all configuration functions */ -global $rrd_graph_list; -$rrd_graph_list = array("eighthour", "day", "week", "month", "quarter", "year", "fouryear"); -global $rrd_period_list; -$rrd_period_list = array("absolute" => gettext("Absolute Timespans"), "current" => gettext("Current Period"), "previous" => gettext("Previous Period")); -global $rrd_graph_length_list; -$rrd_graph_length_list = array( - "eighthour" => 28800, - "day" => 86400, - "week" => 604800, - "month" => 2678400, - "quarter" => 7948800, - "year" => 31622400, - "fouryear" => 126230400); -global $rrd_style_list; -$rrd_style_list = array('inverse' => gettext('Inverse'), - 'absolute' => gettext('Absolute')); - function dump_rrd_to_xml($rrddatabase, $xmldumpfile) { $rrdtool = "/usr/bin/nice -n20 /usr/local/bin/rrdtool"; unlink_if_exists($xmldumpfile); |