diff options
author | Pim van den Berg | 2011-02-05 20:01:26 +0100 |
---|---|---|
committer | Pim van den Berg | 2011-02-05 20:01:26 +0100 |
commit | b1e34bd1868be418ef5ec26683a8d07f22cebd51 (patch) | |
tree | c4f7616f7159b71af7a1260b3e049af0fc29d507 /plugin/nut.php | |
parent | plugin/dns: generate colors in type dns_opcode (diff) | |
download | apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.zip apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.gz apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.bz2 apt-panopticon_cgp-b1e34bd1868be418ef5ec26683a8d07f22cebd51.tar.xz |
replace function generate_colors by rainbow_colors
When no colors are defined they will be generated by function rainbow_colors.
Diffstat (limited to 'plugin/nut.php')
-rw-r--r-- | plugin/nut.php | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/plugin/nut.php b/plugin/nut.php index 816a9ca..b1016e6 100644 --- a/plugin/nut.php +++ b/plugin/nut.php | |||
@@ -16,7 +16,6 @@ require_once 'inc/collectd.inc.php'; | |||
16 | $obj = new Type_Default($CONFIG); | 16 | $obj = new Type_Default($CONFIG); |
17 | $obj->width = $width; | 17 | $obj->width = $width; |
18 | $obj->heigth = $heigth; | 18 | $obj->heigth = $heigth; |
19 | $obj->generate_colors(); | ||
20 | switch($obj->args['type']) { | 19 | switch($obj->args['type']) { |
21 | case 'percent': | 20 | case 'percent': |
22 | $obj->data_sources = array('percent'); | 21 | $obj->data_sources = array('percent'); |