diff options
author | Pim van den Berg | 2014-05-03 18:15:12 +0200 |
---|---|---|
committer | Pim van den Berg | 2014-05-03 19:21:36 +0200 |
commit | edae75c21a8f657dd6cc9ace9e8e844ef337a951 (patch) | |
tree | da0c2b4a1ef35a3d2d8c129925e257f6a6f7fbe3 /plugin/sensors.php | |
parent | type/base: set default values for rrd_title and rrd_format (diff) | |
download | apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.zip apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.gz apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.bz2 apt-panopticon_cgp-edae75c21a8f657dd6cc9ace9e8e844ef337a951.tar.xz |
rename ds_names and dsname to legend
This had nothing to do with an RRD data source.
Diffstat (limited to 'plugin/sensors.php')
-rw-r--r-- | plugin/sensors.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/sensors.php b/plugin/sensors.php index 0ac2ccd..e0c0d9c 100644 --- a/plugin/sensors.php +++ b/plugin/sensors.php | |||
@@ -12,7 +12,7 @@ require_once 'type/Default.class.php'; | |||
12 | # sensors-XXXX/voltage-XXXX.rrd | 12 | # sensors-XXXX/voltage-XXXX.rrd |
13 | 13 | ||
14 | $obj = new Type_Default($CONFIG, $_GET); | 14 | $obj = new Type_Default($CONFIG, $_GET); |
15 | $obj->ds_names = array( | 15 | $obj->legend = array( |
16 | 'value' => 'Value', | 16 | 'value' => 'Value', |
17 | ); | 17 | ); |
18 | switch($obj->args['type']) { | 18 | switch($obj->args['type']) { |