diff options
author | SilvioGiunge <kanazuchi@alvolivre.com> | 2016-05-04 11:35:09 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-05-20 11:27:20 -0300 |
commit | adc90ad9950f712c67880f63db2a25cbd000c25c (patch) | |
tree | b65b2bcfaa9149375195a90fe74dd7139aee06c4 /src | |
parent | a5e2c66481fcff47ada35e27a02bdb82cb84a31c (diff) | |
download | pfsense-adc90ad9950f712c67880f63db2a25cbd000c25c.zip pfsense-adc90ad9950f712c67880f63db2a25cbd000c25c.tar.gz |
Removed global variables used on the version 2.2
(cherry picked from commit d4af7f9e4a332278a80ba2a9c56df2064dc579d9)
Diffstat (limited to 'src')
-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); |