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/users.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/users.php')
-rw-r--r-- | plugin/users.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugin/users.php b/plugin/users.php index 6b3bc4e..f49de38 100644 --- a/plugin/users.php +++ b/plugin/users.php | |||
@@ -10,7 +10,7 @@ require_once 'type/Default.class.php'; | |||
10 | 10 | ||
11 | $obj = new Type_Default($CONFIG, $_GET); | 11 | $obj = new Type_Default($CONFIG, $_GET); |
12 | $obj->data_sources = array('value'); | 12 | $obj->data_sources = array('value'); |
13 | $obj->ds_names = array( | 13 | $obj->legend = array( |
14 | 'value' => 'Users', | 14 | 'value' => 'Users', |
15 | ); | 15 | ); |
16 | $obj->colors = array( | 16 | $obj->colors = array( |
@@ -24,8 +24,8 @@ $obj->rrd_format = '%.1lf'; | |||
24 | if ($CONFIG['version'] < 5) { | 24 | if ($CONFIG['version'] < 5) { |
25 | $obj->data_sources = array('users'); | 25 | $obj->data_sources = array('users'); |
26 | 26 | ||
27 | $obj->ds_names['users'] = $obj->ds_names['value']; | 27 | $obj->legend['users'] = $obj->legend['value']; |
28 | unset($obj->ds_names['value']); | 28 | unset($obj->legend['value']); |
29 | 29 | ||
30 | $obj->colors['users'] = $obj->colors['value']; | 30 | $obj->colors['users'] = $obj->colors['value']; |
31 | unset($obj->colors['value']); | 31 | unset($obj->colors['value']); |